mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1136906 part 2. Stop passing a parent to JS_NewObject in xpconnect code. r=bholley
This commit is contained in:
parent
76402ddc68
commit
2967b8ac9a
@ -464,7 +464,7 @@ CreateObjectIn(JSContext *cx, HandleValue vobj, CreateObjectInOptions &options,
|
||||
RootedObject obj(cx);
|
||||
{
|
||||
JSAutoCompartment ac(cx, scope);
|
||||
obj = JS_NewObject(cx, nullptr, scope);
|
||||
obj = JS_NewPlainObject(cx);
|
||||
if (!obj)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user