Bug 1481399 - rename nsAttrAndChildArray to AttrArray, r=mrbkap
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user