Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
This commit is contained in:
@@ -330,7 +330,7 @@ js_InitWeakMapClass(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
JS_ASSERT(obj->isNative());
|
||||
|
||||
GlobalObject *global = obj->asGlobal();
|
||||
GlobalObject *global = &obj->asGlobal();
|
||||
|
||||
JSObject *weakMapProto = global->createBlankPrototype(cx, &WeakMapClass);
|
||||
if (!weakMapProto)
|
||||
|
||||
Reference in New Issue
Block a user