Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index a8c58d1c520634d611ba0992897c825105774bd1..833604d177295f949766b6bc7bf520e304358e87 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -264,7 +264,7 @@ class CC_EXPORT LayerTreeImpl { |
void SetRootLayerScrollOffsetDelegate( |
LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate); |
void OnRootLayerDelegatedScrollOffsetChanged(); |
- void UpdateScrollOffsetDelegate(); |
+ void UpdateScrollOffsetDelegateIfNeeded(); |
gfx::ScrollOffset GetDelegatedScrollOffset(LayerImpl* layer); |
// Call this function when you expect there to be a swap buffer. |