Bug 1449806: Some manual fixes. r?xidorn draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 22 Jun 2018 18:59:17 +0200
changeset 809663 a68a0abab3152b493294ae25b838c2c0dae31fe0
parent 809662 e59a4319e9fd592d7ba8a1c396f80b1095be3868
child 809664 13fec31aefd1522f11e9a5a57a017e6dd2a79f78
push id113755
push userbmo:emilio@crisal.io
push dateFri, 22 Jun 2018 17:38:23 +0000
reviewersxidorn
bugs1449806
milestone62.0a1
Bug 1449806: Some manual fixes. r?xidorn MozReview-Commit-ID: ErylCD5E1yU
dom/base/nsMappedAttributeElement.cpp
dom/html/HTMLObjectElement.cpp
--- a/dom/base/nsMappedAttributeElement.cpp
+++ b/dom/base/nsMappedAttributeElement.cpp
@@ -22,18 +22,18 @@ nsMappedAttributeElement::SetAndSwapMapp
 
 nsMapRuleToAttributesFunc
 nsMappedAttributeElement::GetAttributeMappingFunction() const
 {
   return &MapNoAttributesInto;
 }
 
 void
-nsMappedAttributeElement::MapNoAttributesInto(const nsMappedAttributes* aAttributes,
-                                              mozilla::GenericSpecifiedValues* aGenericData)
+nsMappedAttributeElement::MapNoAttributesInto(const nsMappedAttributes*,
+                                              mozilla::MappedDeclarations&)
 {
 }
 
 void
 nsMappedAttributeElement::NodeInfoChanged(nsIDocument* aOldDoc)
 {
   nsHTMLStyleSheet* sheet = OwnerDoc()->GetAttributeStyleSheet();
   mAttrsAndChildren.SetMappedAttrStyleSheet(sheet);
--- a/dom/html/HTMLObjectElement.cpp
+++ b/dom/html/HTMLObjectElement.cpp
@@ -460,18 +460,18 @@ HTMLObjectElement::ParseAttribute(int32_
     }
   }
 
   return nsGenericHTMLFormElement::ParseAttribute(aNamespaceID, aAttribute,
                                                   aValue, aMaybeScriptedPrincipal, aResult);
 }
 
 void
-HTMLObjectElement::MapAttributesIntoRule(const nsMappedAttributes *aAttributes,
-                                         GenericSpecifiedValues *aData)
+HTMLObjectElement::MapAttributesIntoRule(const nsMappedAttributes* aAttributes,
+                                         MappedDeclarations& aDecls)
 {
   nsGenericHTMLFormElement::MapImageAlignAttributeInto(aAttributes, aDecls);
   nsGenericHTMLFormElement::MapImageBorderAttributeInto(aAttributes, aDecls);
   nsGenericHTMLFormElement::MapImageMarginAttributeInto(aAttributes, aDecls);
   nsGenericHTMLFormElement::MapImageSizeAttributesInto(aAttributes, aDecls);
   nsGenericHTMLFormElement::MapCommonAttributesInto(aAttributes, aDecls);
 }