Index: third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
diff --git a/third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
index c5bdbe4bcff3da7bd054165da32e49910a79185f..28cb9f3643c4da35344fa666d2cc811a0cc425f9 100644 |
--- a/third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
+++ b/third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
@@ -56,6 +56,8 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C |
return interpolationRequiresStyleResolve(toCSSBasicShapePolygonValue(value)); |
if (value.isBasicShapeInsetValue()) |
return interpolationRequiresStyleResolve(toCSSBasicShapeInsetValue(value)); |
+ if (value.isStringValue() || value.isURIValue() || value.isCustomIdentValue()) |
+ return false; |
if (value.isPrimitiveValue()) |
return interpolationRequiresStyleResolve(toCSSPrimitiveValue(value)); |
if (value.isQuadValue()) |
@@ -77,7 +79,7 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C |
bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const CSSPrimitiveValue& primitiveValue) |
{ |
// FIXME: consider other types. |
- if (primitiveValue.isNumber() || primitiveValue.isPercentage() || primitiveValue.isAngle() || primitiveValue.isRGBColor() || primitiveValue.isURI()) |
+ if (primitiveValue.isNumber() || primitiveValue.isPercentage() || primitiveValue.isAngle() || primitiveValue.isRGBColor()) |
return false; |
if (primitiveValue.isLength()) |