Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: Source/core/animation/DocumentTimelineTest.cpp

Issue 30813004: Revert r160071 "Web Animations: Implement AnimationClock and fix start time of animations" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/animation/DocumentTimeline.cpp ('k') | Source/core/animation/PlayerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentTimelineTest.cpp
diff --git a/Source/core/animation/DocumentTimelineTest.cpp b/Source/core/animation/DocumentTimelineTest.cpp
index eb40e00936077d681fceb09b6e063d6445e3dd21..203c53b2f41a06e58d9dd62d4499ee8684bd9a7e 100644
--- a/Source/core/animation/DocumentTimelineTest.cpp
+++ b/Source/core/animation/DocumentTimelineTest.cpp
@@ -32,7 +32,6 @@
#include "core/animation/DocumentTimeline.h"
#include "core/animation/Animation.h"
-#include "core/animation/AnimationClock.h"
#include "core/animation/KeyframeAnimationEffect.h"
#include "core/animation/TimedItem.h"
#include "core/dom/Document.h"
@@ -53,7 +52,6 @@ protected:
element = Element::create(nullQName() , document.get());
timeline = DocumentTimeline::create(document.get());
timeline->setZeroTimeAsPerfTime(0);
- document->animationClock().updateTime(0);
ASSERT_EQ(0, timeline->currentTime());
}
@@ -89,7 +87,6 @@ TEST_F(CoreAnimationDocumentTimelineTest, ZeroTimeAsPerfTime)
EXPECT_TRUE(isNull(timeline->currentTime()));
timeline->setZeroTimeAsPerfTime(300);
- document->animationClock().updateTime(300);
timeline->serviceAnimations(300);
EXPECT_EQ(0, timeline->currentTime());
« no previous file with comments | « Source/core/animation/DocumentTimeline.cpp ('k') | Source/core/animation/PlayerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698