Index: third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
index a1fefec5107275684dec3162b155b8019a375b87..df6cd59ac72486d596fbb4140e36660447affd72 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
@@ -5,6 +5,7 @@ |
#include "core/animation/CSSPathInterpolationType.h" |
#include "core/animation/PathInterpolationFunctions.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSPathValue.h" |
#include "core/css/resolver/StyleResolverState.h" |
#include "wtf/PtrUtil.h" |
@@ -71,7 +72,7 @@ InterpolationValue CSSPathInterpolationType::maybeConvertInherit(const StyleReso |
InterpolationValue CSSPathInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState& state, ConversionCheckers& conversionCheckers) const |
{ |
if (!value.isPathValue()) { |
- DCHECK_EQ(toCSSPrimitiveValue(value).getValueID(), CSSValueNone); |
+ DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), CSSValueNone); |
return nullptr; |
} |
return PathInterpolationFunctions::convertValue(toCSSPathValue(value).byteStream()); |