Bug 1334330 - Part 3: stylo: Use GenericSpecifiedValue abstraction in elements using only common mappers; r=bz,emilio

MozReview-Commit-ID: B8vg4ZiqRGK
This commit is contained in:
Manish Goregaokar
2017-01-26 16:51:01 -08:00
parent e8b3bc62ed
commit 2d1e54b302
9 changed files with 49 additions and 57 deletions

View File

@@ -505,13 +505,13 @@ HTMLObjectElement::ParseAttribute(int32_t aNamespaceID,
void
HTMLObjectElement::MapAttributesIntoRule(const nsMappedAttributes *aAttributes,
GenericSpecifiedValues *aGenericData)
GenericSpecifiedValues *aData)
{
nsGenericHTMLFormElement::MapImageAlignAttributeInto(aAttributes, aGenericData);
nsGenericHTMLFormElement::MapImageBorderAttributeInto(aAttributes, aGenericData);
nsGenericHTMLFormElement::MapImageMarginAttributeInto(aAttributes, aGenericData);
nsGenericHTMLFormElement::MapImageSizeAttributesInto(aAttributes, aGenericData);
nsGenericHTMLFormElement::MapCommonAttributesInto(aAttributes, aGenericData);
nsGenericHTMLFormElement::MapImageAlignAttributeInto(aAttributes, aData);
nsGenericHTMLFormElement::MapImageBorderAttributeInto(aAttributes, aData);
nsGenericHTMLFormElement::MapImageMarginAttributeInto(aAttributes, aData);
nsGenericHTMLFormElement::MapImageSizeAttributesInto(aAttributes, aData);
nsGenericHTMLFormElement::MapCommonAttributesInto(aAttributes, aData);
}
NS_IMETHODIMP_(bool)