| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index dfa3c3f2dcb47b57ac28dc2d40d5186356a1a92a..c7bcf2ca484f883ab57a95dcddff2050f5a4b57a 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -3249,16 +3249,9 @@ static void CollectScrollDeltas(ScrollAndScaleSet* scroll_info,
|
| if (!root_layer)
|
| return;
|
|
|
| - for (auto* layer : *root_layer->layer_tree_impl()) {
|
| - gfx::ScrollOffset scroll_delta = layer->PullDeltaForMainThread();
|
| -
|
| - if (!scroll_delta.IsZero()) {
|
| - LayerTreeHostCommon::ScrollUpdateInfo scroll;
|
| - scroll.layer_id = layer->id();
|
| - scroll.scroll_delta = gfx::Vector2d(scroll_delta.x(), scroll_delta.y());
|
| - scroll_info->scrolls.push_back(scroll);
|
| - }
|
| - }
|
| + return root_layer->layer_tree_impl()
|
| + ->property_trees()
|
| + ->scroll_tree.CollectScrollDeltas(scroll_info);
|
| }
|
|
|
| scoped_ptr<ScrollAndScaleSet> LayerTreeHostImpl::ProcessScrollDeltas() {
|
|
|