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
ba2fb4e2e2
commit
558afe1786
8 changed files with 14 additions and 14 deletions
|
@ -178,7 +178,7 @@ pub fn ensure_expando_object(cx: *mut JSContext, obj: HandleObject) -> *mut JSOb
|
|||
expando = JS_NewObjectWithGivenProto(cx, ptr::null_mut(), HandleObject::null());
|
||||
assert!(!expando.is_null());
|
||||
|
||||
SetProxyExtra(obj.get(), JSPROXYSLOT_EXPANDO, &ObjectValue(&*expando));
|
||||
SetProxyExtra(obj.get(), JSPROXYSLOT_EXPANDO, &ObjectValue(expando));
|
||||
}
|
||||
expando
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue