diff --git a/mobile/android/components/BrowserCLH.js b/mobile/android/components/BrowserCLH.js index cd54583d2a1..6c14f5af1d8 100644 --- a/mobile/android/components/BrowserCLH.js +++ b/mobile/android/components/BrowserCLH.js @@ -93,7 +93,11 @@ BrowserCLH.prototype = { }; let flags = "chrome,dialog=no,all"; - browserWin = openWindow(null, "chrome://browser/content/browser.xul", "_blank", flags, args); + let chromeURL = "chrome://browser/content/browser.xul"; + try { + chromeURL = Services.prefs.getCharPref("toolkit.defaultChromeURI"); + } catch(e) {} + browserWin = openWindow(null, chromeURL, "_blank", flags, args); } aCmdLine.preventDefault = true;