Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)

This commit is contained in:
Luke Wagner
2012-01-02 15:02:05 -08:00
parent 833fc08689
commit 63d604536b
75 changed files with 2040 additions and 1904 deletions

View File

@@ -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)