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

@@ -53,7 +53,7 @@ HTMLPreElement::MapAttributesIntoRule(const nsMappedAttributes* aAttributes,
if (!aData->PropertyIsSet(eCSSProperty_white_space)) {
// wrap: empty
if (aAttributes->GetAttr(nsGkAtoms::wrap))
aData->SetKeywordValue(eCSSProperty_white_space, NS_STYLE_WHITESPACE_PRE_WRAP);
aData->SetKeywordValue(eCSSProperty_white_space, StyleWhiteSpace::PreWrap);
}
}