diff options
Diffstat (limited to 'components/script/init.rs')
-rw-r--r-- | components/script/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/init.rs b/components/script/init.rs index 324714a3831..f2e88f6ea1a 100644 --- a/components/script/init.rs +++ b/components/script/init.rs @@ -62,7 +62,7 @@ unsafe extern "C" fn is_dom_object(obj: *mut JSObject) -> bool { #[allow(unsafe_code)] pub fn init() -> JSEngineSetup { unsafe { - if pref!(js.disable_jit) { + if pref!(js_disable_jit) { js::jsapi::DisableJitBackend(); } proxyhandler::init(); |