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

@@ -212,7 +212,7 @@ nsITextControlElement::GetWrapPropertyEnum(nsIContent* aContent,
nsAutoString wrap;
if (aContent->IsHTMLElement()) {
static Element::AttrValuesArray strings[] =
{&nsGkAtoms::HARD, &nsGkAtoms::OFF, nullptr};
{nsGkAtoms::HARD, nsGkAtoms::OFF, nullptr};
switch (aContent->AsElement()->FindAttrValueIn(kNameSpaceID_None,
nsGkAtoms::wrap, strings,