| 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 42e107e24766c9e2a51c3cc80a66c63da33cae78..b1db3b961c80c4506fb765c6c84c104c26f52e1b 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| @@ -99,11 +99,11 @@ 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:
|
| @@ -122,7 +122,7 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(
|
| }
|
|
|
| default:
|
| - return createFontWeightValue(primitiveValue.convertTo<FontWeight>());
|
| + return createFontWeightValue(identifierValue.convertTo<FontWeight>());
|
| }
|
| }
|
|
|
|
|