Bug 1112778, part 10 - Rename the remaining nonstandard internal methods, such as JSObject::getGenericAttributes -> js::GetPropertyAttributes. r=Waldo.

This commit is contained in:
Jason Orendorff
2014-12-18 13:28:06 -06:00
parent 134d3aec0e
commit da806812c7
17 changed files with 228 additions and 170 deletions

View File

@@ -1178,7 +1178,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, HandleObject obj, StringPredicate p
unsigned attrs;
if (obj2->isNative())
attrs = GetShapeAttributes(obj2, prop);
else if (!JSObject::getGenericAttributes(cx, obj2, id, &attrs))
else if (!GetPropertyAttributes(cx, obj2, id, &attrs))
return false;
if (attrs & JSPROP_ENUMERATE)