mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update js.
This commit is contained in:
parent
a7c885706e
commit
12b922b67f
6 changed files with 43 additions and 88 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue