Index: Source/core/animation/AnimatableLength.h |
diff --git a/Source/core/animation/AnimatableLength.h b/Source/core/animation/AnimatableLength.h |
index 626a4bf42fbbd90a142b3c788d765224b5e879da..adfb136b66721b205ec5ffe030b2c2280f667987 100644 |
--- a/Source/core/animation/AnimatableLength.h |
+++ b/Source/core/animation/AnimatableLength.h |
@@ -66,7 +66,6 @@ public: |
protected: |
virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE; |
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE; |
private: |
AnimatableLength(double number, CSSPrimitiveValue::LengthUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue) |
@@ -90,14 +89,6 @@ private: |
static bool isCalc(CSSPrimitiveValue::LengthUnitType type) { return type == CSSPrimitiveValue::UnitTypeCalc; } |
bool isCalc() const { return isCalc(m_lengthUnitType); } |
- bool isViewportUnit() const |
- { |
- return m_lengthUnitType == CSSPrimitiveValue::UnitTypeViewportWidth |
- || m_lengthUnitType == CSSPrimitiveValue::UnitTypeViewportHeight |
- || m_lengthUnitType == CSSPrimitiveValue::UnitTypeViewportMin |
- || m_lengthUnitType == CSSPrimitiveValue::UnitTypeViewportMax; |
- } |
- |
static PassRefPtrWillBeRawPtr<AnimatableLength> create(const AnimatableLength* leftAddend, const AnimatableLength* rightAddend) |
{ |
ASSERT(leftAddend && rightAddend); |