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

@@ -311,8 +311,8 @@ HTMLTableHeaderCellAccessible::NativeRole()
{
// Check value of @scope attribute.
static Element::AttrValuesArray scopeValues[] =
{ &nsGkAtoms::col, &nsGkAtoms::colgroup,
&nsGkAtoms::row, &nsGkAtoms::rowgroup, nullptr };
{ nsGkAtoms::col, nsGkAtoms::colgroup,
nsGkAtoms::row, nsGkAtoms::rowgroup, nullptr };
int32_t valueIdx =
mContent->AsElement()->FindAttrValueIn(kNameSpaceID_None, nsGkAtoms::scope,
scopeValues, eCaseMatters);