| Index: cc/input/scroll_state.cc
|
| diff --git a/cc/input/scroll_state.cc b/cc/input/scroll_state.cc
|
| index 5a2a7dd3e431b1c870272e4190b623c8bd606377..7d0becde29caef6732eeb6a6349e45f67c98c4f0 100644
|
| --- a/cc/input/scroll_state.cc
|
| +++ b/cc/input/scroll_state.cc
|
| @@ -28,9 +28,11 @@ void ScrollState::ConsumeDelta(double x, double y) {
|
|
|
| void ScrollState::DistributeToScrollChainDescendant() {
|
| if (!scroll_chain_.empty()) {
|
| - const ScrollNode* next = scroll_chain_.front();
|
| + ScrollNode* next = scroll_chain_.front();
|
| scroll_chain_.pop_front();
|
| - layer_tree_impl_->LayerById(next->owning_layer_id)->DistributeScroll(this);
|
| +
|
| + ScrollTree& scroll_tree = layer_tree_impl_->property_trees()->scroll_tree;
|
| + scroll_tree.DistributeScroll(next, this);
|
| }
|
| }
|
|
|
|
|