Bug 1008418 - Fix review comment DONTBUILD

This commit is contained in:
Bill McCloskey 2014-05-15 16:17:52 -07:00
parent 5b6c282707
commit 36b7d45564

View File

@ -1611,11 +1611,11 @@ static bool
DumpObject(JSContext *cx, unsigned argc, jsval *vp)
{
CallArgs args = CallArgsFromVp(argc, vp);
RootedObject arg0(cx);
if (!JS_ConvertArguments(cx, args, "o", arg0.address()))
RootedObject obj(cx);
if (!JS_ConvertArguments(cx, args, "o", obj.address()))
return false;
js_DumpObject(arg0);
js_DumpObject(obj);
args.rval().setUndefined();
return true;