Bug 1068189 - Force disable browser.tabs.remote.autostart in non-nightly builds. r=felipe, a=sledru
💩💩 backed out by dabbfa2c0eac 💩 💩
authorJim Mathies <jmathies@mozilla.com>
Tue, 23 Sep 2014 09:41:59 -0500
changeset 216872 d41af0c7fdaf
parent 216871 b9e8ce2a141b
child 216873 82f4086ba2c7
push id3949
push userryanvm@gmail.com
push date2014-09-29 16:30 +0000
treeherdermozilla-beta@82f4086ba2c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe, sledru
bugs1068189
milestone33.0
Bug 1068189 - Force disable browser.tabs.remote.autostart in non-nightly builds. r=felipe, a=sledru
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -4433,16 +4433,19 @@ mozilla::BrowserTabsRemote()
   }
 
   return gBrowserTabsRemote;
 }
 
 bool
 mozilla::BrowserTabsRemoteAutostart()
 {
+#if !defined(NIGHTLY_BUILD)
+  return false;
+#endif
   if (!gBrowserTabsRemoteAutostartInitialized) {
     gBrowserTabsRemoteAutostart = !gSafeMode &&
                                   Preferences::GetBool("browser.tabs.remote.autostart", false);
     gBrowserTabsRemoteAutostartInitialized = true;
   }
 
   return gBrowserTabsRemoteAutostart;
 }