mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Pass an immutable pointer to the private in NewProxyObject.
This commit is contained in:
parent
d5cb4377ef
commit
1834855ff5
2 changed files with 2 additions and 2 deletions
|
@ -1722,7 +1722,7 @@ def CreateBindingJSObject(descriptor, parent=None):
|
||||||
let mut private = PrivateValue(squirrel_away_unique(aObject) as *libc::c_void);
|
let mut private = PrivateValue(squirrel_away_unique(aObject) as *libc::c_void);
|
||||||
let obj = with_compartment(aCx, proto, || {
|
let obj = with_compartment(aCx, proto, || {
|
||||||
NewProxyObject(aCx, *handler,
|
NewProxyObject(aCx, *handler,
|
||||||
&mut private,
|
&private,
|
||||||
proto, %s,
|
proto, %s,
|
||||||
ptr::mut_null(), ptr::mut_null())
|
ptr::mut_null(), ptr::mut_null())
|
||||||
});
|
});
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4d337f8708f256eb4e03226022f6b3944e914fae
|
Subproject commit d932f5dbb26dbae9fc67615bd61c86b05f0fb4fe
|
Loading…
Add table
Add a link
Reference in a new issue