Bug 1481399 - rename nsAttrAndChildArray to AttrArray, r=mrbkap

This commit is contained in:
Olli Pettay
2018-08-07 22:07:26 +03:00
parent 94d8a51b9d
commit bcb0ac8885
28 changed files with 197 additions and 203 deletions

View File

@@ -297,7 +297,7 @@ HTMLBodyElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
nsresult rv = nsGenericHTMLElement::BindToTree(aDocument, aParent,
aBindingParent);
NS_ENSURE_SUCCESS(rv, rv);
return mAttrsAndChildren.ForceMapped(this, OwnerDoc());
return mAttrs.ForceMapped(this, OwnerDoc());
}
nsresult
@@ -314,7 +314,7 @@ HTMLBodyElement::AfterSetAttr(int32_t aNameSpaceID, nsAtom* aName,
// if the last mapped attribute was removed, don't clear the
// nsMappedAttributes, our style can still depend on the containing frame element
if (!aValue && IsAttributeMapped(aName)) {
nsresult rv = mAttrsAndChildren.ForceMapped(this, OwnerDoc());
nsresult rv = mAttrs.ForceMapped(this, OwnerDoc());
NS_ENSURE_SUCCESS(rv, rv);
}