Index: Source/core/animation/animatable/AnimatableDouble.cpp |
diff --git a/Source/core/animation/animatable/AnimatableDouble.cpp b/Source/core/animation/animatable/AnimatableDouble.cpp |
index 225726fa49435ad201276a83b487d661322bbd2a..f122d44aee2182782dc6e49995b98c45b3ae4a22 100644 |
--- a/Source/core/animation/animatable/AnimatableDouble.cpp |
+++ b/Source/core/animation/animatable/AnimatableDouble.cpp |
@@ -36,18 +36,9 @@ |
namespace blink { |
-bool AnimatableDouble::usesDefaultInterpolationWith(const AnimatableValue* value) const |
-{ |
- const AnimatableDouble* other = toAnimatableDouble(value); |
- return (m_constraint == InterpolationIsNonContinuousWithZero) && (!m_number || !other->m_number); |
-} |
- |
PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const |
{ |
const AnimatableDouble* other = toAnimatableDouble(value); |
- ASSERT(m_constraint == other->m_constraint); |
- if ((m_constraint == InterpolationIsNonContinuousWithZero) && (!m_number || !other->m_number)) |
- return defaultInterpolateTo(this, value, fraction); |
return AnimatableDouble::create(blend(m_number, other->m_number, fraction)); |
} |