Bug 478075: Remove parent argument to js_GetCallObject. r=brendan

This commit is contained in:
Jim Blandy
2009-02-18 23:57:24 -08:00
parent 8cac80393e
commit bbd1004340
7 changed files with 28 additions and 24 deletions

View File

@@ -1280,7 +1280,7 @@ obj_eval(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
* object, then we need to provide one for the compiler to stick any
* declared (var) variables into.
*/
if (caller && !caller->varobj && !js_GetCallObject(cx, caller, NULL))
if (caller && !caller->varobj && !js_GetCallObject(cx, caller))
return JS_FALSE;
/* Accept an optional trailing argument that overrides the scope object. */