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); |
}; |