Index: third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
index f8dd47cc825149ff02b018ec19e8ddfd527529b3..35e27294331e20174b1f1a8dd9aaba7b14273f19 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
@@ -7,6 +7,7 @@ |
#include "core/animation/ListInterpolationFunctions.h" |
#include "core/animation/ShadowInterpolationFunctions.h" |
#include "core/animation/ShadowListPropertyFunctions.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSValueList.h" |
#include "core/css/resolver/StyleBuilder.h" |
#include "core/css/resolver/StyleResolverState.h" |
@@ -79,7 +80,7 @@ InterpolationValue CSSShadowListInterpolationType::maybeConvertInherit(const Sty |
InterpolationValue CSSShadowListInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState&, ConversionCheckers&) const |
{ |
- if (value.isPrimitiveValue() && toCSSPrimitiveValue(value).getValueID() == CSSValueNone) |
+ if (value.isIdentifierValue() && toCSSIdentifierValue(value).getValueID() == CSSValueNone) |
return createNeutralValue(); |
if (!value.isBaseValueList()) |