diff options
Diffstat (limited to 'cc/test/CCAnimationTestCommon.h')
-rw-r--r-- | cc/test/CCAnimationTestCommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/CCAnimationTestCommon.h b/cc/test/CCAnimationTestCommon.h index 6995f77..6ebf199 100644 --- a/cc/test/CCAnimationTestCommon.h +++ b/cc/test/CCAnimationTestCommon.h @@ -22,11 +22,15 @@ namespace WebKitTests { class FakeFloatAnimationCurve : public cc::CCFloatAnimationCurve { public: FakeFloatAnimationCurve(); + explicit FakeFloatAnimationCurve(double duration); virtual ~FakeFloatAnimationCurve(); virtual double duration() const OVERRIDE; virtual float getValue(double now) const OVERRIDE; virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE; + +private: + double m_duration; }; class FakeTransformTransition : public cc::CCTransformAnimationCurve { |