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:
Jeff Walden
2011-09-15 11:44:10 -07:00
parent 9304354106
commit 10e2a9cbb2
25 changed files with 277 additions and 224 deletions

View File

@@ -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. */