Skip to content

Commit

Permalink
Bug 1008418 - Fix review comment DONTBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-mccloskey committed May 15, 2014
1 parent b24cc8f commit 0719aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/src/builtin/TestingFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0719aef

Please sign in to comment.