Index: ui/compositor/layer_animator.cc |
diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc |
index 2a47bd9ace30403e58be4667cf269eda134b1edd..dabc4122e4681e5f4053943229e691728aef5bd0 100644 |
--- a/ui/compositor/layer_animator.cc |
+++ b/ui/compositor/layer_animator.cc |
@@ -219,7 +219,7 @@ void LayerAnimator::RemoveThreadedAnimation(int animation_id) { |
} |
bool LayerAnimator::HasPendingThreadedAnimationsForTesting() const { |
- return animation_player_->has_pending_animations_for_testing(); |
+ return animation_player_->has_any_animation(); |
} |
cc::AnimationPlayer* LayerAnimator::GetAnimationPlayerForTesting() const { |