diff options
Diffstat (limited to 'docshell/base/nsDocShellTreeOwner.cpp')
-rw-r--r-- | docshell/base/nsDocShellTreeOwner.cpp | 8 |
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(); |