Index: Source/core/animation/InterpolableValue.h |
diff --git a/Source/core/animation/InterpolableValue.h b/Source/core/animation/InterpolableValue.h |
index 2111b55890137029fd1365989b56f0492b9042dd..dae07d579bd5194549f24fab0561b3c4ca1bf70a 100644 |
--- a/Source/core/animation/InterpolableValue.h |
+++ b/Source/core/animation/InterpolableValue.h |
@@ -22,10 +22,7 @@ public: |
private: |
virtual PassOwnPtr<InterpolableValue> interpolate(const InterpolableValue &to, const double progress) const = 0; |
- // TODO: Replace this with Interpolation when committing Interpolation |
- // patch. Refactor InterpolableValueTest to test via Interpolation |
- // interface. |
- friend class AnimationInterpolableValueTest; |
+ friend class Interpolation; |
// Keep interpolate private, but allow calls within the hierarchy without |
// knowledge of type. |
@@ -99,6 +96,7 @@ public: |
ASSERT(position < m_size); |
return m_values.get()[position].get(); |
} |
+ size_t length() const { return m_size; } |
virtual PassOwnPtr<InterpolableValue> clone() const OVERRIDE FINAL { return create(*this); } |
private: |