Index: Source/core/animation/Interpolation.h |
diff --git a/Source/core/animation/Interpolation.h b/Source/core/animation/Interpolation.h |
index 206310c9875007c2688dfc33ae928371aa66b074..2ebef69b03adb6438b16562685ec12d95b87d04a 100644 |
--- a/Source/core/animation/Interpolation.h |
+++ b/Source/core/animation/Interpolation.h |
@@ -72,31 +72,6 @@ protected: |
} |
}; |
-class LegacyStyleInterpolation : public StyleInterpolation { |
-public: |
- static PassRefPtrWillBeRawPtr<LegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<AnimatableValue> start, PassRefPtrWillBeRawPtr<AnimatableValue> end, CSSPropertyID id) |
- { |
- return adoptRefWillBeNoop(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id)); |
- } |
- |
- virtual void apply(StyleResolverState&) const OVERRIDE; |
- |
- virtual bool isLegacyStyleInterpolation() const OVERRIDE FINAL { return true; } |
- PassRefPtrWillBeRawPtr<AnimatableValue> currentValue() const |
- { |
- InterpolableAnimatableValue* value = static_cast<InterpolableAnimatableValue*>(m_cachedValue.get()); |
- return value->value(); |
- } |
- |
- virtual void trace(Visitor*) OVERRIDE; |
- |
-private: |
- LegacyStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) |
- : StyleInterpolation(start, end, id) |
- { |
- } |
-}; |
- |
class LengthStyleInterpolation : public StyleInterpolation { |
public: |
static PassRefPtrWillBeRawPtr<LengthStyleInterpolation> create(CSSValue* start, CSSValue* end, CSSPropertyID id) |
@@ -143,7 +118,6 @@ private: |
}; |
DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterpolation(), value.isStyleInterpolation()); |
-DEFINE_TYPE_CASTS(LegacyStyleInterpolation, Interpolation, value, value->isLegacyStyleInterpolation(), value.isLegacyStyleInterpolation()); |
} |