From 36b7d45564c5108a5062f03ae7c2f558517e1c4f Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Thu, 15 May 2014 16:17:52 -0700 Subject: [PATCH] Bug 1008418 - Fix review comment DONTBUILD --- js/src/builtin/TestingFunctions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp index 34faa99057f..16cb705b9b0 100644 --- a/js/src/builtin/TestingFunctions.cpp +++ b/js/src/builtin/TestingFunctions.cpp @@ -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;