mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +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)
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user