diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index dc978d4a912d..94a425c1c9a4 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -4448,9 +4448,7 @@ } for (let ppBrowser of this.tabbrowser._printPreviewBrowsers) { let ppTab = this.tabbrowser.getTabForBrowser(ppBrowser); - let state = ppBrowser.hasLayers ? this.STATE_LOADED - : this.STATE_LOADING; - this.setTabState(ppTab, state); + this.setTabState(ppTab, this.STATE_LOADING); } }, diff --git a/dom/interfaces/base/nsITabParent.idl b/dom/interfaces/base/nsITabParent.idl index aa29f871b24b..5c3cf2044b74 100644 --- a/dom/interfaces/base/nsITabParent.idl +++ b/dom/interfaces/base/nsITabParent.idl @@ -32,12 +32,6 @@ interface nsITabParent : nsISupports */ void renderLayers(in bool aEnabled); - /** - * True if layers are being rendered and the compositor has reported - * receiving them. - */ - readonly attribute boolean hasLayers; - /** * Whether this tabParent is in prerender mode. */ diff --git a/dom/ipc/TabParent.cpp b/dom/ipc/TabParent.cpp index b1bbbe3c0e82..66425ece8c76 100644 --- a/dom/ipc/TabParent.cpp +++ b/dom/ipc/TabParent.cpp @@ -2995,13 +2995,6 @@ TabParent::RenderLayers(bool aEnabled) return NS_OK; } -NS_IMETHODIMP -TabParent::GetHasLayers(bool* aResult) -{ - *aResult = mHasLayers; - return NS_OK; -} - NS_IMETHODIMP TabParent::PreserveLayers(bool aPreserveLayers) { diff --git a/toolkit/content/widgets/browser.xml b/toolkit/content/widgets/browser.xml index 3e5978aceacf..ddfc7e6922f7 100644 --- a/toolkit/content/widgets/browser.xml +++ b/toolkit/content/widgets/browser.xml @@ -304,14 +304,6 @@ - - - - - - diff --git a/toolkit/content/widgets/remote-browser.xml b/toolkit/content/widgets/remote-browser.xml index 29e6941cd772..aacf2fff6e0b 100644 --- a/toolkit/content/widgets/remote-browser.xml +++ b/toolkit/content/widgets/remote-browser.xml @@ -258,16 +258,6 @@ ]]> - - - -