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

Unified Diff: cc/animation/element_animations.h

Issue 2522543005: CC Animation: Remove redundant legacy call to UpdateActivations. (Closed)
Patch Set: Created 4 years, 1 month 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/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 a07b63e544b62417e45293e94eca06fdf11667a7..063ac683d4e8e471566f4f3d9f024253ce1f81a1 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -65,7 +65,7 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> {
// thread are kept in sync. This function does not take ownership of the impl
// thread ElementAnimations.
void PushPropertiesTo(
- scoped_refptr<ElementAnimations> element_animations_impl);
+ scoped_refptr<ElementAnimations> element_animations_impl) const;
void Animate(base::TimeTicks monotonic_time);
@@ -210,14 +210,14 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> {
bool has_element_in_active_list_;
bool has_element_in_pending_list_;
- bool scroll_offset_animation_was_interrupted_;
+ mutable bool scroll_offset_animation_was_interrupted_;
- bool needs_push_properties_;
+ mutable bool needs_push_properties_;
PropertyAnimationState active_state_;
PropertyAnimationState pending_state_;
- bool needs_update_impl_client_state_;
+ mutable bool needs_update_impl_client_state_;
DISALLOW_COPY_AND_ASSIGN(ElementAnimations);
};
« no previous file with comments | « no previous file | cc/animation/element_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698