Pass an immutable pointer to the private in NewProxyObject.

This commit is contained in:
Ms2ger 2014-05-26 20:18:00 +02:00
parent d5cb4377ef
commit 1834855ff5
2 changed files with 2 additions and 2 deletions

View file

@ -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())
});

@ -1 +1 @@
Subproject commit 4d337f8708f256eb4e03226022f6b3944e914fae
Subproject commit d932f5dbb26dbae9fc67615bd61c86b05f0fb4fe