Index: cc/animation/element_animations.h |
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h |
index f8fdcb9169bdd5f25a0b19dc702af5eeb86cb363..111c734266b02f12dce4fe1c6cac5c427f74d317 100644 |
--- a/cc/animation/element_animations.h |
+++ b/cc/animation/element_animations.h |
@@ -125,6 +125,9 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> { |
bool has_element_in_pending_list() const { |
return has_element_in_pending_list_; |
} |
+ bool has_element_in_any_list() const { |
+ return has_element_in_active_list_ || has_element_in_pending_list_; |
+ } |
void set_has_element_in_active_list(bool has_element_in_active_list) { |
has_element_in_active_list_ = has_element_in_active_list; |