Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke
This commit is contained in:
@@ -2106,7 +2106,7 @@ date_toJSON(JSContext *cx, uintN argc, Value *vp)
|
||||
|
||||
/* Step 4. */
|
||||
Value &toISO = vp[0];
|
||||
if (!obj->getProperty(cx, ATOM_TO_JSID(cx->runtime->atomState.toISOStringAtom), &toISO))
|
||||
if (!obj->getProperty(cx, cx->runtime->atomState.toISOStringAtom, &toISO))
|
||||
return false;
|
||||
|
||||
/* Step 5. */
|
||||
|
||||
Reference in New Issue
Block a user