Bug 1112778, part 10 - Rename the remaining nonstandard internal methods, such as JSObject::getGenericAttributes -> js::GetPropertyAttributes. r=Waldo.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user