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

@@ -1515,12 +1515,6 @@ nsGenericHTMLElement::MapBackgroundAttributesInto(const nsMappedAttributes* aAtt
//----------------------------------------------------------------------
nsresult
nsGenericHTMLElement::SetAttrHelper(nsAtom* aAttr, const nsAString& aValue)
{
return SetAttr(kNameSpaceID_None, aAttr, aValue, true);
}
int32_t
nsGenericHTMLElement::GetIntAttr(nsAtom* aAttr, int32_t aDefault) const
{