mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Fix more bustage. a=bustage
This commit is contained in:
parent
78a6bba4bb
commit
ccb316ad18
@ -44,7 +44,7 @@ PreWrap(JSContext *cx, JSObject *scope, JSObject *obj, uintN flags)
|
||||
static JSObject *
|
||||
Wrap(JSContext *cx, JSObject *obj, JSObject *proto, JSObject *parent, uintN flags)
|
||||
{
|
||||
return JSWrapper::New(cx, obj, proto, NULL, &JSCrossCompartmentWrapper::singleton);
|
||||
return JSWrapper::New(cx, obj, proto, parent, &JSCrossCompartmentWrapper::singleton);
|
||||
}
|
||||
|
||||
BEGIN_TEST(testBug604087)
|
||||
|
Loading…
Reference in New Issue
Block a user