summaryrefslogtreecommitdiff
path: root/js/xpconnect/src/XPCWrappedNativeScope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/src/XPCWrappedNativeScope.cpp')
-rw-r--r--js/xpconnect/src/XPCWrappedNativeScope.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/xpconnect/src/XPCWrappedNativeScope.cpp b/js/xpconnect/src/XPCWrappedNativeScope.cpp
index fdf27a5d62..4f4e9e7404 100644
--- a/js/xpconnect/src/XPCWrappedNativeScope.cpp
+++ b/js/xpconnect/src/XPCWrappedNativeScope.cpp
@@ -247,8 +247,7 @@ CompartmentPerAddon()
static bool pref = false;
if (!initialized) {
- pref = Preferences::GetBool("dom.compartment_per_addon", false) ||
- BrowserTabsRemoteAutostart();
+ pref = Preferences::GetBool("dom.compartment_per_addon", false);
initialized = true;
}