Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp |
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp |
index 334057be12f9207b3d3cb88e702dfcefbfe643f5..e3ef20f33861cbf3b7f93a4ad3c22a1213098bb6 100644 |
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp |
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp |
@@ -32,6 +32,12 @@ |
namespace blink { |
+bool AnimatableLengthPoint::usesDefaultInterpolationWith(const AnimatableValue* value) const |
+{ |
+ const AnimatableLengthPoint* other = toAnimatableLengthPoint(value); |
+ return this->x()->isUnknown() || other->x()->isUnknown(); |
+} |
+ |
PassRefPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const AnimatableValue* value, double fraction) const |
{ |
const AnimatableLengthPoint* lengthPoint = toAnimatableLengthPoint(value); |