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

Unified Diff: cc/animation/animation_host.h

Issue 2291463003: Revert "CC Animation: Introduce some dirty flags to optimize PushProperties on commit" (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | cc/animation/animation_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index 9c570e61840a753663f43a5dcfc80340071f56ac..4a7ffbfbb1accf7e63c933e1f2d3011fc6d0465b 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -79,8 +79,8 @@ class CC_EXPORT AnimationHost {
}
void SetMutatorHostClient(MutatorHostClient* client);
- void SetNeedsPushProperties();
- bool needs_push_properties() const { return needs_push_properties_; }
+ void SetNeedsCommit();
+ void SetNeedsRebuildPropertyTrees();
void PushPropertiesTo(AnimationHost* host_impl);
@@ -170,6 +170,11 @@ class CC_EXPORT AnimationHost {
const ElementToAnimationsMap& active_element_animations_for_testing() const;
const ElementToAnimationsMap& all_element_animations_for_testing() const;
+ bool animation_waiting_for_deletion() const {
+ return animation_waiting_for_deletion_;
+ }
+ void OnAnimationWaitingForDeletion();
+
private:
explicit AnimationHost(ThreadInstance thread_instance);
@@ -195,7 +200,7 @@ class CC_EXPORT AnimationHost {
const ThreadInstance thread_instance_;
bool supports_scroll_animations_;
- bool needs_push_properties_;
+ bool animation_waiting_for_deletion_;
DISALLOW_COPY_AND_ASSIGN(AnimationHost);
};
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698