Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku

And then fix up everything else that needs to change as well.

MozReview-Commit-ID: GDMfERqdQAc
This commit is contained in:
Nicholas Nethercote
2018-04-03 13:21:06 +10:00
parent eba2bdea95
commit 7ccd4b9401
57 changed files with 244 additions and 243 deletions

View File

@@ -237,19 +237,19 @@ NS_IMETHODIMP_(bool)
HTMLTableCellElement::IsAttributeMapped(const nsAtom* aAttribute) const
{
static const MappedAttributeEntry attributes[] = {
{ &nsGkAtoms::align },
{ &nsGkAtoms::valign },
{ &nsGkAtoms::nowrap },
{ nsGkAtoms::align },
{ nsGkAtoms::valign },
{ nsGkAtoms::nowrap },
#if 0
// XXXldb If these are implemented, they might need to move to
// GetAttributeChangeHint (depending on how, and preferably not).
{ &nsGkAtoms::abbr },
{ &nsGkAtoms::axis },
{ &nsGkAtoms::headers },
{ &nsGkAtoms::scope },
{ nsGkAtoms::abbr },
{ nsGkAtoms::axis },
{ nsGkAtoms::headers },
{ nsGkAtoms::scope },
#endif
{ &nsGkAtoms::width },
{ &nsGkAtoms::height },
{ nsGkAtoms::width },
{ nsGkAtoms::height },
{ nullptr }
};