Arghhhhhh.

This commit is contained in:
brendan%mozilla.org 2006-02-02 19:55:20 +00:00
parent 32270d411f
commit 3cdb5fa370

View File

@ -2019,9 +2019,6 @@ JS_InitClass(JSContext *cx, JSObject *obj, JSObject *parent_proto,
if (!atom) if (!atom)
return NULL; return NULL;
if (!js_EnterLocalRootScope(cx))
return NULL;
/* Create a prototype object for this class. */ /* Create a prototype object for this class. */
proto = js_NewObject(cx, clasp, parent_proto, obj); proto = js_NewObject(cx, clasp, parent_proto, obj);
if (!proto) { if (!proto) {