Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett

This commit is contained in:
Steve Fink
2012-07-23 13:37:31 -07:00
parent d4a3b3944e
commit 56b9c45f6e
90 changed files with 1400 additions and 1270 deletions

View File

@@ -3296,7 +3296,7 @@ js_DateGetSeconds(JSContext *cx, JSObject* obj)
}
JS_FRIEND_API(double)
js_DateGetMsecSinceEpoch(JSContext *cx, JSObject *obj)
js_DateGetMsecSinceEpoch(JSContext *cx, RawObject obj)
{
return obj->isDate() ? obj->getDateUTCTime().toNumber() : 0;
}