| Index: cc/animation/element_animations.cc
|
| diff --git a/cc/animation/element_animations.cc b/cc/animation/element_animations.cc
|
| index b9bfa8d287823afb538574b81f08e34ad98c005f..b1bd59e03a808fee891acdf2864d5f87255a83bb 100644
|
| --- a/cc/animation/element_animations.cc
|
| +++ b/cc/animation/element_animations.cc
|
| @@ -135,7 +135,7 @@ void ElementAnimations::PushPropertiesTo(
|
| return;
|
| needs_push_properties_ = false;
|
|
|
| - if (!has_any_animation() && !element_animations_impl->has_any_animation())
|
| + if (!HasAnyAnimation() && !element_animations_impl->HasAnyAnimation())
|
| return;
|
| MarkAbortedAnimationsForDeletion(element_animations_impl.get());
|
| PurgeAnimationsMarkedForDeletion();
|
| @@ -1210,6 +1210,10 @@ bool ElementAnimations::HasActiveAnimation() const {
|
| return false;
|
| }
|
|
|
| +bool ElementAnimations::HasAnyAnimation() const {
|
| + return !animations_.empty();
|
| +}
|
| +
|
| bool ElementAnimations::IsPotentiallyAnimatingProperty(
|
| TargetProperty::Type target_property,
|
| ElementListType list_type) const {
|
|
|