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

@@ -227,8 +227,8 @@ nsTextBoxFrame::UpdateAttributes(nsAtom* aAttribute,
if (aAttribute == nullptr || aAttribute == nsGkAtoms::crop) {
static Element::AttrValuesArray strings[] =
{&nsGkAtoms::left, &nsGkAtoms::start, &nsGkAtoms::center,
&nsGkAtoms::right, &nsGkAtoms::end, &nsGkAtoms::none, nullptr};
{nsGkAtoms::left, nsGkAtoms::start, nsGkAtoms::center,
nsGkAtoms::right, nsGkAtoms::end, nsGkAtoms::none, nullptr};
CroppingStyle cropType;
switch (mContent->AsElement()->FindAttrValueIn(kNameSpaceID_None,
nsGkAtoms::crop, strings,