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

Unified Diff: sky/engine/core/animation/AnimationTimeline.cpp

Issue 1020053002: Remove pauseAnimationsForTesting (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/engine/core/animation/AnimationTimeline.h ('k') | sky/engine/core/animation/AnimationTimelineTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/AnimationTimeline.cpp
diff --git a/sky/engine/core/animation/AnimationTimeline.cpp b/sky/engine/core/animation/AnimationTimeline.cpp
index 5d32f61a82896a4175282d7b768b3143d05f75cd..549c8f47ebb9ec46d8b202cdd9815e5bf022edf2 100644
--- a/sky/engine/core/animation/AnimationTimeline.cpp
+++ b/sky/engine/core/animation/AnimationTimeline.cpp
@@ -192,13 +192,6 @@ double AnimationTimeline::effectiveTime()
return std::isnan(time) ? 0 : time;
}
-void AnimationTimeline::pauseAnimationsForTesting(double pauseTime)
-{
- for (HashSet<RefPtr<AnimationPlayer> >::iterator it = m_playersNeedingUpdate.begin(); it != m_playersNeedingUpdate.end(); ++it)
- (*it)->pauseForTesting(pauseTime);
- serviceAnimations(TimingUpdateOnDemand);
-}
-
bool AnimationTimeline::hasOutdatedAnimationPlayer() const
{
for (HashSet<RefPtr<AnimationPlayer> >::iterator it = m_playersNeedingUpdate.begin(); it != m_playersNeedingUpdate.end(); ++it) {
« no previous file with comments | « sky/engine/core/animation/AnimationTimeline.h ('k') | sky/engine/core/animation/AnimationTimelineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698