| 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 63256d484ccc2219ea6806fe2f4f7ae3c37e099e..dc85f2d7a24ad06e71e02d00e46ecac916eb129f 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2563,8 +2563,7 @@ LayerImpl* LayerTreeHostImpl::FindScrollLayerForDeviceViewportPoint(
|
| if (layer_impl) {
|
| ScrollTree& scroll_tree = active_tree_->property_trees()->scroll_tree;
|
| ScrollNode* scroll_node = scroll_tree.Node(layer_impl->scroll_tree_index());
|
| - for (; scroll_tree.parent(scroll_node);
|
| - scroll_node = scroll_tree.parent(scroll_node)) {
|
| + for (; scroll_node; scroll_node = scroll_tree.parent(scroll_node)) {
|
| // The content layer can also block attempts to scroll outside the main
|
| // thread.
|
| ScrollStatus status =
|
|
|