Index: third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp |
index b63f9539c50342a8f1f730556be395f54686f8a1..896f3caecb012de89dc8d7afb73b5dcb1541be86 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp |
@@ -55,10 +55,10 @@ void SVGPointListInterpolationType::composite(UnderlyingValue& underlyingValue, |
{ |
size_t startLength = toInterpolableList(underlyingValue->interpolableValue()).length(); |
size_t endLength = toInterpolableList(value.interpolableValue()).length(); |
- if (startLength != endLength) |
+ if (startLength == endLength) |
+ InterpolationType::composite(underlyingValue, underlyingFraction, value); |
+ else |
underlyingValue.set(&value); |
- |
- InterpolationType::composite(underlyingValue, underlyingFraction, value); |
} |
PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGPointListInterpolationType::appliedSVGValue(const InterpolableValue& interpolableValue, const NonInterpolableValue*) const |