Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index a3d35542b4f7106a4a8e713a5c1a42d294585704..476d8aa77004423039d5cbbe7c0af7b5a70c2895 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -275,6 +275,10 @@ class CC_EXPORT LayerTreeImpl { |
// The outer viewport scroll layer scrolls first. |
void DistributeRootScrollOffset(); |
+ void ApplyScroll(LayerImpl* layer, ScrollState* scroll_state) { |
+ layer_tree_host_impl_->ApplyScroll(layer, scroll_state); |
+ } |
+ |
// Call this function when you expect there to be a swap buffer. |
// See swap_promise.h for how to use SwapPromise. |
void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise); |