From 9441435604e50c02109a578152399d20ee35a12d Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Fri, 19 Mar 2021 12:36:57 +0000 Subject: [PATCH] Bug 1699332 - Remove remaining presentation URL references r=annevk Differential Revision: https://phabricator.services.mozilla.com/D109010 --- dom/base/nsContentUtils.cpp | 31 ------------------------------- dom/base/nsContentUtils.h | 7 ------- dom/base/nsFrameLoader.cpp | 18 +----------------- dom/ipc/BrowserChild.cpp | 18 ------------------ dom/ipc/BrowserChild.h | 6 ------ dom/ipc/PTabContext.ipdlh | 5 ----- dom/ipc/TabContext.cpp | 13 ++----------- dom/ipc/TabContext.h | 15 +-------------- xpcom/ds/StaticAtoms.py | 1 - 9 files changed, 4 insertions(+), 110 deletions(-) diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index bbd0170eb1be..a5d51c1f6b63 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -9062,37 +9062,6 @@ void nsContentUtils::SetScrollbarsVisibility(nsIDocShell* aDocShell, nsDocShell::Cast(aDocShell)->SetScrollbarPreference(pref); } -/* static */ -void nsContentUtils::GetPresentationURL(nsIDocShell* aDocShell, - nsAString& aPresentationUrl) { - MOZ_ASSERT(aDocShell); - - if (XRE_IsContentProcess()) { - nsCOMPtr sameTypeRoot; - aDocShell->GetInProcessSameTypeRootTreeItem(getter_AddRefs(sameTypeRoot)); - nsCOMPtr root; - aDocShell->GetInProcessRootTreeItem(getter_AddRefs(root)); - if (sameTypeRoot.get() == root.get()) { - // presentation URL is stored in BrowserChild for the top most - //