Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff)

This commit is contained in:
Chris Leary
2011-05-04 12:01:39 -07:00
parent baaa4a2e73
commit 309b8cd3d2
17 changed files with 148 additions and 155 deletions

View File

@@ -221,9 +221,9 @@ EnumerateNativeProperties(JSContext *cx, JSObject *obj, JSObject *pobj, uintN fl
for (Shape::Range r = pobj->lastProperty()->all(); !r.empty(); r.popFront()) {
const Shape &shape = r.front();
if (!JSID_IS_DEFAULT_XML_NAMESPACE(shape.id) &&
if (!JSID_IS_DEFAULT_XML_NAMESPACE(shape.propid) &&
!shape.isAlias() &&
!Enumerate(cx, obj, pobj, shape.id, shape.enumerable(),
!Enumerate(cx, obj, pobj, shape.propid, shape.enumerable(),
shape.isSharedPermanent(), flags, ht, props))
{
return false;