Index: cc/animation/animation_player.h |
diff --git a/cc/animation/animation_player.h b/cc/animation/animation_player.h |
index 1afdbfb522a8d2ed1353a1eaa78151544e9f1364..b20e0be217688723727f202a70a0ad64af268135 100644 |
--- a/cc/animation/animation_player.h |
+++ b/cc/animation/animation_player.h |
@@ -88,10 +88,8 @@ class CC_EXPORT AnimationPlayer : public base::RefCounted<AnimationPlayer> { |
double animation_start_time, |
std::unique_ptr<AnimationCurve> curve); |
- // Whether this player has animations waiting to get sent to ElementAnimations |
- bool has_pending_animations_for_testing() const { |
- return !animations_.empty(); |
- } |
+ // Returns true if there are any animations at all to process. |
+ bool has_any_animation() const { return !animations_.empty(); } |
bool needs_push_properties() const { return needs_push_properties_; } |
void SetNeedsPushProperties(); |