Bug 574248 - Use preprocessor to set browser.tabs.remote correctly [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Wed, 23 Jun 2010 23:42:38 -0400
changeset 66312 25e99945b9ad6477551abcc0aa647cc3ccf04dda
parent 66311 b0349d25599c87c9a677c40e92f7a9565415fb72
child 66313 7aa7b52837038f5654b7d8051ed81eed327902ab
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs574248
Bug 574248 - Use preprocessor to set browser.tabs.remote correctly [r=mbrubeck]
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -36,17 +36,21 @@
 
 #filter substitution
 
 pref("toolkit.defaultChromeURI", "chrome://browser/content/browser.xul");
 pref("general.useragent.extra.mobile", "@APP_UA_NAME_EXTRA@/@APP_VERSION_EXTRA@ Fennec/@APP_VERSION@");
 pref("browser.chromeURL", "chrome://browser/content/");
 
 pref("browser.tabs.warnOnClose", true);
+#ifdef MOZ_IPC
+pref("browser.tabs.remote", true);
+#else
 pref("browser.tabs.remote", false);
+#endif
 
 pref("toolkit.screen.lock", false);
 
 // From libpref/src/init/all.js, extended to allow a slightly wider zoom range.
 pref("zoom.minPercent", 20);
 pref("zoom.maxPercent", 400);
 pref("toolkit.zoomManager.zoomValues", ".2,.3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3,4");
 pref("zoom.dpiScale", 150);