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

@@ -662,7 +662,7 @@ nsTreeContentView::CycleHeader(nsTreeColumn& aColumn, ErrorResult& aError)
if (!sort.IsEmpty()) {
nsAutoString sortdirection;
static Element::AttrValuesArray strings[] =
{&nsGkAtoms::ascending, &nsGkAtoms::descending, nullptr};
{nsGkAtoms::ascending, nsGkAtoms::descending, nullptr};
switch (column->FindAttrValueIn(kNameSpaceID_None,
nsGkAtoms::sortDirection,
strings, eCaseMatters)) {