Bug 1112778, part 7 - Rename JSObject::{get,set}Generic etc. -> js::{Get,Set}Property and add a few comments. r=Waldo.
This commit is contained in:
@@ -2462,7 +2462,7 @@ date_toJSON(JSContext *cx, unsigned argc, Value *vp)
|
||||
|
||||
/* Step 4. */
|
||||
RootedValue toISO(cx);
|
||||
if (!JSObject::getProperty(cx, obj, obj, cx->names().toISOString, &toISO))
|
||||
if (!GetProperty(cx, obj, obj, cx->names().toISOString, &toISO))
|
||||
return false;
|
||||
|
||||
/* Step 5. */
|
||||
|
||||
Reference in New Issue
Block a user