mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Auto merge of #10710 - Ms2ger:js, r=nox
Update js. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10710) <!-- Reviewable:end -->
This commit is contained in:
commit
7e370c4df4
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