| Index: Source/core/animation/animatable/AnimatableValue.cpp
|
| diff --git a/Source/core/animation/animatable/AnimatableValue.cpp b/Source/core/animation/animatable/AnimatableValue.cpp
|
| index 85ab07e267e0087cedd261e9abbe8489a8955add..5a7666886a34caf128b3d6d16321d4435d1e486b 100644
|
| --- a/Source/core/animation/animatable/AnimatableValue.cpp
|
| +++ b/Source/core/animation/animatable/AnimatableValue.cpp
|
| @@ -35,12 +35,6 @@
|
| #include "wtf/StdLibExtras.h"
|
| #include <algorithm>
|
|
|
| -namespace {
|
| -
|
| -const double defaultDistance = 1;
|
| -
|
| -} // namespace
|
| -
|
| namespace blink {
|
|
|
| const AnimatableValue* AnimatableValue::neutralValue()
|
| @@ -62,20 +56,4 @@ PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableValue::interpolate(const Anima
|
| return defaultInterpolateTo(left, right, fraction);
|
| }
|
|
|
| -double AnimatableValue::distance(const AnimatableValue* left, const AnimatableValue* right)
|
| -{
|
| - ASSERT(left);
|
| - ASSERT(right);
|
| -
|
| - if (left->isSameType(right))
|
| - return left->distanceTo(right);
|
| -
|
| - return defaultDistance;
|
| -}
|
| -
|
| -double AnimatableValue::distanceTo(const AnimatableValue*) const
|
| -{
|
| - return defaultDistance;
|
| -}
|
| -
|
| } // namespace blink
|
|
|