Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
This commit is contained in:
@@ -2647,7 +2647,7 @@ js_InitDateClass(JSContext *cx, JSObject *obj)
|
||||
/* Set the static LocalTZA. */
|
||||
LocalTZA = -(PRMJ_LocalGMTDifference() * msPerSecond);
|
||||
|
||||
GlobalObject *global = obj->asGlobal();
|
||||
GlobalObject *global = &obj->asGlobal();
|
||||
|
||||
JSObject *dateProto = global->createBlankPrototype(cx, &DateClass);
|
||||
if (!dateProto)
|
||||
|
||||
Reference in New Issue
Block a user