mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update to SpiderMonkey 66.
This commit is contained in:
parent
d0d3401361
commit
4328713f71
31 changed files with 150 additions and 144 deletions
|
@ -31,7 +31,7 @@ use js::jsapi::HandleValueArray;
|
|||
use js::jsapi::Heap;
|
||||
use js::jsapi::IsCallable;
|
||||
use js::jsapi::IsConstructor;
|
||||
use js::jsapi::JSAutoCompartment;
|
||||
use js::jsapi::JSAutoRealm;
|
||||
use js::jsapi::JSObject;
|
||||
use js::jsapi::JS_ClearPendingException;
|
||||
use js::jsapi::JS_IsExceptionPending;
|
||||
|
@ -252,7 +252,7 @@ impl PaintWorkletGlobalScope {
|
|||
);
|
||||
|
||||
let cx = self.worklet_global.get_cx();
|
||||
let _ac = JSAutoCompartment::new(cx, self.worklet_global.reflector().get_jsobject().get());
|
||||
let _ac = JSAutoRealm::new(cx, self.worklet_global.reflector().get_jsobject().get());
|
||||
|
||||
// TODO: Steps 1-2.1.
|
||||
// Step 2.2-5.1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue