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

Unified Diff: cc/animation/element_animations.h

Issue 2322693003: CC Animation: Rename has_any_animation and make implementattion out-of-line (Closed)
Patch Set: 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
« no previous file with comments | « cc/animation/animation_player.h ('k') | cc/animation/element_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/element_animations.h
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h
index 7d5be98d5e49f98abf93336677514bc244498b5b..296a0ad6274d90c2f799b6a53571e55445f10bb9 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -99,7 +99,7 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> {
bool HasActiveAnimation() const;
// Returns true if there are any animations at all to process.
- bool has_any_animation() const { return !animations_.empty(); }
+ bool HasAnyAnimation() const;
// Returns true if there is an animation that is either currently animating
// the given property or scheduled to animate this property in the future, and
« no previous file with comments | « cc/animation/animation_player.h ('k') | cc/animation/element_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698