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

@@ -480,7 +480,7 @@ HTMLTableCellElement::MapAttributesIntoRule(const nsMappedAttributes* aAttribute
if (!value || value->Type() != nsAttrValue::eInteger ||
value->GetIntegerValue() == 0 ||
eCompatibility_NavQuirks != mode) {
aData->SetKeywordValue(eCSSProperty_white_space, NS_STYLE_WHITESPACE_NOWRAP);
aData->SetKeywordValue(eCSSProperty_white_space, StyleWhiteSpace::Nowrap);
}
}
}