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

This commit is contained in:
Nicholas Nethercote
2018-04-03 13:21:06 +10:00
parent eea84a4bb9
commit 325d491a33
56 changed files with 241 additions and 240 deletions

View File

@@ -241,7 +241,7 @@ HTMLLinkElement::CreateAndDispatchEvent(nsIDocument* aDoc,
// doing the "right" thing costs virtually nothing here, even if it doesn't
// make much sense.
static Element::AttrValuesArray strings[] =
{&nsGkAtoms::_empty, &nsGkAtoms::stylesheet, nullptr};
{nsGkAtoms::_empty, nsGkAtoms::stylesheet, nullptr};
if (!nsContentUtils::HasNonEmptyAttr(this, kNameSpaceID_None,
nsGkAtoms::rev) &&