Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index bc99733a1b37f5230aec795524cba546f76dddc6..980ca2bc742e16ab51870891db409351934a3f2f 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -2841,9 +2841,9 @@ bool CSSComputedStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, c |
m_node->document()->updateLayoutIgnorePendingStylesheets(); |
RenderStyle* style = m_node->computedStyle(m_pseudoElementSpecifier); |
if (style && style->fontDescription().keywordSize()) { |
- int sizeValue = cssIdentifierForFontSizeKeyword(style->fontDescription().keywordSize()); |
+ CSSValueID sizeValue = cssIdentifierForFontSizeKeyword(style->fontDescription().keywordSize()); |
const CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(propertyValue); |
- if (primitiveValue->isIdent() && primitiveValue->getIdent() == sizeValue) |
+ if (primitiveValue->isValueID() && primitiveValue->getValueID() == sizeValue) |
return true; |
} |
} |