| Index: Source/core/animation/AnimationStackTest.cpp
|
| diff --git a/Source/core/animation/AnimationStackTest.cpp b/Source/core/animation/AnimationStackTest.cpp
|
| index 9f62e7354de3ef381f993a74dd7f6ce8fb20e25d..e57a6580664ddbafc86455d05a780adcddc00491 100644
|
| --- a/Source/core/animation/AnimationStackTest.cpp
|
| +++ b/Source/core/animation/AnimationStackTest.cpp
|
| @@ -20,7 +20,8 @@ protected:
|
| virtual void SetUp()
|
| {
|
| document = Document::create();
|
| - document->animationClock().resetTimeForTesting();
|
| + document->animationClock().clearTimeForTesting();
|
| + document->animationClock().updateTime(blink::WebFrameTime(-1, -1, 0, 0));
|
| timeline = AnimationTimeline::create(document.get());
|
| element = document->createElement("foo", ASSERT_NO_EXCEPTION);
|
| }
|
| @@ -35,7 +36,7 @@ protected:
|
|
|
| void updateTimeline(double time)
|
| {
|
| - document->animationClock().updateTime(time);
|
| + document->animationClock().updateTime(blink::WebFrameTime(-1, -1, time, time + 1));
|
| timeline->serviceAnimations(TimingUpdateForAnimationFrame);
|
| }
|
|
|
|
|