diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-04-19 18:36:02 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-04-20 11:44:32 +0200 |
commit | 12b922b67f969bd05088bfc1b8aebe6dcd059a78 (patch) | |
tree | 8a1b4c3271fa71799413f8672ec3171b8ca5c0b8 /components/script/script_thread.rs | |
parent | a7c885706ec4bd526b00ecad5d870415ae6cc1e1 (diff) | |
download | servo-12b922b67f969bd05088bfc1b8aebe6dcd059a78.tar.gz servo-12b922b67f969bd05088bfc1b8aebe6dcd059a78.zip |
Update js.
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 5f2ecd095ba..2f1fceb3ba8 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 = new_rt_and_cx(); + let runtime = unsafe { new_rt_and_cx() }; unsafe { JS_SetWrapObjectCallbacks(runtime.rt(), |