Index: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
index f238148f2ff0ba067867ea9a9b43a110e127b916..ff85cb9484458dd71c8e89ab6b95bf278f008567 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
@@ -103,11 +103,11 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertInherit(const Sty |
InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState& state, ConversionCheckers& conversionCheckers) const |
{ |
- if (!value.isPrimitiveValue()) |
+ if (!value.isIdentifierValue()) |
return nullptr; |
- const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(value); |
- CSSValueID keyword = primitiveValue.getValueID(); |
+ const CSSIdentifierValue& identifierValue = toCSSIdentifierValue(value); |
+ CSSValueID keyword = identifierValue.getValueID(); |
switch (keyword) { |
case CSSValueInvalid: |
@@ -123,7 +123,7 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(const CSSVa |
} |
default: |
- return createFontWeightValue(primitiveValue.convertTo<FontWeight>()); |
+ return createFontWeightValue(identifierValue.convertTo<FontWeight>()); |
} |
} |