Fix build bustage

This commit is contained in:
bzbarsky@mit.edu 2007-11-15 19:58:27 -08:00
parent 15bd8eb8f4
commit 799740fff1

View File

@ -216,7 +216,7 @@ MapAttributesIntoRule(const nsMappedAttributes* aAttributes,
}
if (aData->mSIDs & NS_STYLE_INHERIT_BIT(Color)) {
if (aData->mColorData->mColor.GetUnit() == eCSSUnit_Null &&
aData->mPresContext->UseDocumentColors) {
aData->mPresContext->UseDocumentColors()) {
// color: color
const nsAttrValue* value = aAttributes->GetAttr(nsGkAtoms::color);
nscolor color;