Bug 1408026 - Remove early renderLayers for preloaded browsers now that Activity Stream takes care of it. r?florian draft
authorMike Conley <mconley@mozilla.com>
Tue, 27 Mar 2018 16:01:36 -0400
changeset 773291 4cf15525e196614ffef8b91a45d7017fc60aaa51
parent 773290 edce2c8e3eddd0a9085624f14664c90463fdd5f2
child 773809 6362b91d1ab327eecd10f17f1c450fe22c7519bc
child 774422 6888f3dcaf7ee60a805d0bcafba425eaeffe0937
push id104209
push usermconley@mozilla.com
push dateTue, 27 Mar 2018 20:25:28 +0000
reviewersflorian
bugs1408026
milestone61.0a1
Bug 1408026 - Remove early renderLayers for preloaded browsers now that Activity Stream takes care of it. r?florian MozReview-Commit-ID: L9ROVXggr5k
browser/base/content/tabbrowser.js
--- a/browser/base/content/tabbrowser.js
+++ b/browser/base/content/tabbrowser.js
@@ -1774,17 +1774,16 @@ window._gBrowser = {
       // For remote browsers, we need to make sure that the webProgress is
       // instantiated, otherwise the parent won't get informed about the state
       // of the preloaded browser until it gets attached to a tab.
       browser.webProgress;
     }
 
     browser.loadURI(BROWSER_NEW_TAB_URL);
     browser.docShellIsActive = false;
-    browser.renderLayers = true;
     browser._urlbarFocused = true;
 
     // Make sure the preloaded browser is loaded with desired zoom level
     let tabURI = Services.io.newURI(BROWSER_NEW_TAB_URL);
     FullZoom.onLocationChange(tabURI, false, browser);
   },
 
   _createBrowser(aParams) {