From 88f8a22269482f798c8c63af4d179e3b6149d505 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Tue, 31 May 2016 01:13:59 +0200 Subject: Bump rust-mozjs for the safe Runtime::new (fixes #11512) --- components/script/script_thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_thread.rs') 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, chan: Sender) -> ScriptThread { - let runtime = unsafe { new_rt_and_cx(ptr::null_mut()) }; + let runtime = unsafe { new_rt_and_cx() }; unsafe { JS_SetWrapObjectCallbacks(runtime.rt(), -- cgit v1.2.3