Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink

This commit is contained in:
Terrence Cole
2014-01-16 09:48:58 -08:00
parent 4a53feb64b
commit 5403e658ff
64 changed files with 149 additions and 147 deletions

View File

@@ -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;