| Index: third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
| index ec3b822849e8f6883904e6308d7c2b3a1321ce39..706da1d1f22dbcd0c17becbaf70ae5dd7472da53 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
| @@ -5,7 +5,7 @@
|
| #include "core/animation/CSSFontSizeInterpolationType.h"
|
|
|
| #include "core/animation/LengthInterpolationFunctions.h"
|
| -#include "core/css/CSSPrimitiveValue.h"
|
| +#include "core/css/CSSIdentifierValue.h"
|
| #include "core/css/resolver/StyleResolverState.h"
|
| #include "platform/LengthFunctions.h"
|
| #include "platform/fonts/FontDescription.h"
|
| @@ -103,10 +103,10 @@ InterpolationValue CSSFontSizeInterpolationType::maybeConvertValue(const CSSValu
|
| if (result)
|
| return InterpolationValue(std::move(result));
|
|
|
| - if (!value.isPrimitiveValue() || !toCSSPrimitiveValue(value).isValueID())
|
| + if (!value.isIdentifierValue())
|
| return nullptr;
|
|
|
| - return maybeConvertKeyword(toCSSPrimitiveValue(value).getValueID(), state, conversionCheckers);
|
| + return maybeConvertKeyword(toCSSIdentifierValue(value).getValueID(), state, conversionCheckers);
|
| }
|
|
|
| InterpolationValue CSSFontSizeInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
|
|