mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Arghhhhhh.
This commit is contained in:
parent
32270d411f
commit
3cdb5fa370
@ -2019,9 +2019,6 @@ JS_InitClass(JSContext *cx, JSObject *obj, JSObject *parent_proto,
|
||||
if (!atom)
|
||||
return NULL;
|
||||
|
||||
if (!js_EnterLocalRootScope(cx))
|
||||
return NULL;
|
||||
|
||||
/* Create a prototype object for this class. */
|
||||
proto = js_NewObject(cx, clasp, parent_proto, obj);
|
||||
if (!proto) {
|
||||
|
Loading…
Reference in New Issue
Block a user