Index: Source/core/css/parser/CSSParserValues.cpp |
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp |
index 5d32628616b5b423a5bce110ba015e44fb063a5a..ec23f0e13357c0b31ffa0838c60642d0f79bafa2 100644 |
--- a/Source/core/css/parser/CSSParserValues.cpp |
+++ b/Source/core/css/parser/CSSParserValues.cpp |
@@ -65,7 +65,7 @@ CSSParserValueList::CSSParserValueList(CSSParserTokenRange range) |
value.id = CSSValueInvalid; |
value.isInt = false; |
- CSSValueID id = cssValueKeywordID(token.value()); |
+ CSSValueID id = token.functionId(); |
if (id == CSSValueCalc || id == CSSValueWebkitCalc) { |
value.m_unit = CSSParserValue::CalcFunction; |
value.calcFunction = new CSSParserCalcFunction(range.consumeBlock()); |
@@ -108,7 +108,7 @@ CSSParserValueList::CSSParserValueList(CSSParserTokenRange range) |
break; |
} |
case IdentToken: { |
- value.id = cssValueKeywordID(token.value()); |
+ value.id = token.id(); |
value.isInt = false; |
value.m_unit = CSSParserValue::Identifier; |
value.string = token.value(); |