Bug 659610 - Remove nsGenericHTMLElement::SetAttrHelper and related helper macros. r=qdot

The only remaining instance of NS_IMPL_BOOL_ATTR macro was expanded by hand.

MozReview-Commit-ID: DQ8fGGNTl3y
This commit is contained in:
Adrian Wielgosik
2018-02-24 20:20:23 +01:00
parent 63daf4f595
commit a9ff753f99
5 changed files with 12 additions and 275 deletions

View File

@@ -53,7 +53,7 @@ public:
}
void SetLongDesc(const nsAString& aLongDesc, ErrorResult& aError)
{
SetAttrHelper(nsGkAtoms::longdesc, aLongDesc);
SetHTMLAttr(nsGkAtoms::longdesc, aLongDesc);
}
void GetMarginHeight(DOMString& aMarginHeight) const