From 69dab05a48889724323b196641fb3753c7adb8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Thu, 22 Mar 2018 17:05:09 +0100 Subject: [PATCH] Bug 1448043 - Activate the Light/Dark theme stylesheet before the initial layout. r=bgrins MozReview-Commit-ID: BQRiXfopFFI --HG-- extra : rebase_source : c7895e6221024c8f6a1c267a3ca734df405d3f19 --- browser/base/content/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 7a95df4ed665..1cd4f865ce91 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1231,6 +1231,8 @@ var gBrowserInit = { } new LightweightThemeConsumer(document); + CompactTheme.init(); + TabsInTitlebar.init(); if (window.matchMedia("(-moz-os-version: windows-win8)").matches && @@ -1330,7 +1332,6 @@ var gBrowserInit = { LanguageDetectionListener.init(); BrowserOnClick.init(); FeedHandler.init(); - CompactTheme.init(); AboutCapabilitiesListener.init(); TrackingProtection.init(); CaptivePortalWatcher.init();