Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
This commit is contained in:
@@ -441,7 +441,7 @@ JavaScriptShared::Unwrap(JSContext *cx, const InfallibleTArray<CpowEntry> &aCpow
|
||||
if (!aCpows.Length())
|
||||
return true;
|
||||
|
||||
RootedObject obj(cx, JS_NewObject(cx, nullptr, nullptr, nullptr));
|
||||
RootedObject obj(cx, JS_NewObject(cx, nullptr, JS::NullPtr(), JS::NullPtr()));
|
||||
if (!obj)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user