| Index: cc/test/CCAnimationTestCommon.cpp
|
| diff --git a/cc/test/CCAnimationTestCommon.cpp b/cc/test/CCAnimationTestCommon.cpp
|
| index 62cb17aed4a1fcd90113aa88036a6e00fea36349..6b7801ce28b3139a6f8c585774cd56b8ef3ec94b 100644
|
| --- a/cc/test/CCAnimationTestCommon.cpp
|
| +++ b/cc/test/CCAnimationTestCommon.cpp
|
| @@ -58,6 +58,12 @@ void addAnimatedTransform(Target& target, double duration, int deltaX, int delta
|
| namespace WebKitTests {
|
|
|
| FakeFloatAnimationCurve::FakeFloatAnimationCurve()
|
| + : m_duration(1)
|
| +{
|
| +}
|
| +
|
| +FakeFloatAnimationCurve::FakeFloatAnimationCurve(double duration)
|
| + : m_duration(duration)
|
| {
|
| }
|
|
|
| @@ -67,7 +73,7 @@ FakeFloatAnimationCurve::~FakeFloatAnimationCurve()
|
|
|
| double FakeFloatAnimationCurve::duration() const
|
| {
|
| - return 1;
|
| + return m_duration;
|
| }
|
|
|
| float FakeFloatAnimationCurve::getValue(double now) const
|
|
|