summaryrefslogtreecommitdiffstats
path: root/docshell/base/nsDocShellTreeOwner.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /docshell/base/nsDocShellTreeOwner.cpp
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docshell/base/nsDocShellTreeOwner.cpp')
-rw-r--r--docshell/base/nsDocShellTreeOwner.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/docshell/base/nsDocShellTreeOwner.cpp b/docshell/base/nsDocShellTreeOwner.cpp
index 6d8eb11cc6..6861c58b53 100644
--- a/docshell/base/nsDocShellTreeOwner.cpp
+++ b/docshell/base/nsDocShellTreeOwner.cpp
@@ -39,7 +39,6 @@
#include "nsIRemoteTab.h"
#include "nsIBrowserChild.h"
#include "nsRect.h"
-#include "nsIWebBrowserChromeFocus.h"
#include "nsIContent.h"
#include "nsServiceManagerUtils.h"
#include "nsViewManager.h"
@@ -196,13 +195,6 @@ nsDocShellTreeOwner::GetInterface(const nsIID& aIID, void** aSink) {
return NS_OK;
}
- if (aIID.Equals(NS_GET_IID(nsIWebBrowserChromeFocus))) {
- if (mWebBrowserChromeWeak != nullptr) {
- return mWebBrowserChromeWeak->QueryReferent(aIID, aSink);
- }
- return mOwnerWin->QueryInterface(aIID, aSink);
- }
-
if (aIID.Equals(NS_GET_IID(nsIPrompt))) {
nsCOMPtr<nsIPrompt> prompt;
EnsurePrompter();