diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-05-31 01:13:59 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-05-31 14:54:19 +0200 |
commit | 88f8a22269482f798c8c63af4d179e3b6149d505 (patch) | |
tree | 4d4d5bc47ac73c9dd9c195798840377db0cd2f0a /components/script/script_thread.rs | |
parent | 3eb9403b4d7309ccfa030348fa174b0decc958d7 (diff) | |
download | servo-88f8a22269482f798c8c63af4d179e3b6149d505.tar.gz servo-88f8a22269482f798c8c63af4d179e3b6149d505.zip |
Bump rust-mozjs for the safe Runtime::new (fixes #11512)
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index a1e563d23d1..20a8602a249 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -521,7 +521,7 @@ impl ScriptThread { port: Receiver<MainThreadScriptMsg>, chan: Sender<MainThreadScriptMsg>) -> ScriptThread { - let runtime = unsafe { new_rt_and_cx(ptr::null_mut()) }; + let runtime = unsafe { new_rt_and_cx() }; unsafe { JS_SetWrapObjectCallbacks(runtime.rt(), |