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

Unified Diff: ui/compositor/layer_animator.cc

Issue 2335043002: CC Animation: Move animations_ from ElementAnimations to AnimationPlayer. (Closed)
Patch Set: Clean it up harder. Rework UpdateClientAnimationState. Created 4 years, 3 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
Index: ui/compositor/layer_animator.cc
diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc
index dabc4122e4681e5f4053943229e691728aef5bd0..edd47487a9b4bf7218f005bfeed390391a3af7ae 100644
--- a/ui/compositor/layer_animator.cc
+++ b/ui/compositor/layer_animator.cc
@@ -218,10 +218,6 @@ void LayerAnimator::RemoveThreadedAnimation(int animation_id) {
animation_player_->RemoveAnimation(animation_id);
}
-bool LayerAnimator::HasPendingThreadedAnimationsForTesting() const {
- return animation_player_->has_any_animation();
-}
-
cc::AnimationPlayer* LayerAnimator::GetAnimationPlayerForTesting() const {
return animation_player_.get();
}

Powered by Google App Engine
This is Rietveld 408576698