Index: cc/animation/scroll_offset_animations.cc |
diff --git a/cc/animation/scroll_offset_animations.cc b/cc/animation/scroll_offset_animations.cc |
index 04cf954c6f27ad286dafc83fb3f076a9c81c338c..c70abbc9299cc28f73cd4031a94b39fe3c1c6ca1 100644 |
--- a/cc/animation/scroll_offset_animations.cc |
+++ b/cc/animation/scroll_offset_animations.cc |
@@ -33,7 +33,7 @@ void ScrollOffsetAnimations::AddAdjustmentUpdate(ElementId element_id, |
ScrollOffsetAnimationUpdate update = GetUpdateForElementId(element_id); |
update.adjustment_ += adjustment; |
element_to_update_map_[element_id] = update; |
- animation_host_->SetNeedsCommit(); |
+ animation_host_->SetNeedsPushProperties(); |
} |
void ScrollOffsetAnimations::AddTakeoverUpdate(ElementId element_id) { |
@@ -41,7 +41,7 @@ void ScrollOffsetAnimations::AddTakeoverUpdate(ElementId element_id) { |
ScrollOffsetAnimationUpdate update = GetUpdateForElementId(element_id); |
update.takeover_ = true; |
element_to_update_map_[element_id] = update; |
- animation_host_->SetNeedsCommit(); |
+ animation_host_->SetNeedsPushProperties(); |
} |
bool ScrollOffsetAnimations::HasUpdatesForTesting() const { |