Index: cc/animation/animation_player.h |
diff --git a/cc/animation/animation_player.h b/cc/animation/animation_player.h |
index 5c4c58e94db4c7fdf3ed8f220b668a02b29b8fe7..0445371ad8b258961d06f2a4b126d14d4d2f2b0a 100644 |
--- a/cc/animation/animation_player.h |
+++ b/cc/animation/animation_player.h |
@@ -82,6 +82,7 @@ class CC_EXPORT AnimationPlayer : public base::RefCounted<AnimationPlayer> { |
void NotifyAnimationAborted(base::TimeTicks monotonic_time, |
TargetProperty::Type target_property, |
int group); |
+ void NotifyAnimationWaitingForDeletion(); |
void NotifyAnimationTakeover(base::TimeTicks monotonic_time, |
TargetProperty::Type target_property, |
double animation_start_time, |
@@ -92,13 +93,15 @@ class CC_EXPORT AnimationPlayer : public base::RefCounted<AnimationPlayer> { |
return !animations_.empty(); |
} |
+ bool needs_push_properties() const { return needs_push_properties_; } |
+ |
private: |
friend class base::RefCounted<AnimationPlayer>; |
explicit AnimationPlayer(int id); |
~AnimationPlayer(); |
- void SetNeedsCommit(); |
+ void SetNeedsPushProperties(); |
void RegisterPlayer(); |
void UnregisterPlayer(); |
@@ -119,6 +122,7 @@ class CC_EXPORT AnimationPlayer : public base::RefCounted<AnimationPlayer> { |
int id_; |
ElementId element_id_; |
+ bool needs_push_properties_; |
DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); |
}; |