mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Bump rust-mozjs for the safe Runtime::new (fixes #11512)
This commit is contained in:
parent
3eb9403b4d
commit
88f8a22269
5 changed files with 8 additions and 6 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue