Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user