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 10b06854b8fb1f5367eb3c08021d2442493aaf66..24aa78ef39bc886797283021f4193410f648de37 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2573,10 +2573,6 @@ bool LayerTreeHostImpl::ShouldTopControlsConsumeScroll( |
if (scroll_delta.y() < 0) |
return true; |
- if (CurrentlyScrollingLayer() != InnerViewportScrollLayer() && |
- CurrentlyScrollingLayer() != OuterViewportScrollLayer()) |
- return false; |
- |
if (active_tree()->TotalScrollOffset().y() < |
active_tree()->TotalMaxScrollOffset().y()) |
return true; |