Bug 1369448 - Change NS_STYLE_WHITESPACE macro definitions to enum class; r=manishearth

MozReview-Commit-ID: HUXYWXk8eiI
This commit is contained in:
Jeff Hajewski
2017-06-01 11:47:54 -07:00
committed by Manish Goregaokar
parent 8ceee7d8bf
commit adba322437
9 changed files with 46 additions and 43 deletions

View File

@@ -504,7 +504,7 @@ HTMLTextAreaElement::MapAttributesIntoRule(const nsMappedAttributes* aAttributes
const nsAttrValue* value = aAttributes->GetAttr(nsGkAtoms::wrap);
if (value && value->Type() == nsAttrValue::eString &&
value->Equals(nsGkAtoms::OFF, eIgnoreCase)) {
aData->SetKeywordValue(eCSSProperty_white_space, NS_STYLE_WHITESPACE_PRE);
aData->SetKeywordValue(eCSSProperty_white_space, StyleWhiteSpace::Pre);
}
}
}