mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00: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 obj = with_compartment(aCx, proto, || {
|
||||
NewProxyObject(aCx, *handler,
|
||||
&mut private,
|
||||
&private,
|
||||
proto, %s,
|
||||
ptr::mut_null(), ptr::mut_null())
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue