Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 516abb04023befdbe6c064cfea48c54457632b31..c79610370f8b8003356ae015d7f585101c782de5 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1699,7 +1699,7 @@ struct HitTestVisibleScrollableOrTouchableFunctor { |
return layer->IsDrawnRenderSurfaceLayerListMember() || |
ScrollsAnyDrawnRenderSurfaceLayerListMember(layer) || |
!layer->touch_event_handler_region().IsEmpty() || |
- layer->have_wheel_event_handlers(); |
+ layer->wheel_event_properties() != EventListenerProperties::NONE; |
} |
}; |
@@ -1747,7 +1747,7 @@ static bool LayerHasTouchEventHandlersAt(const gfx::PointF& screen_space_point, |
struct FindWheelEventLayerFunctor { |
bool operator()(LayerImpl* layer) const { |
- return layer->have_wheel_event_handlers(); |
+ return layer->wheel_event_properties() != EventListenerProperties::NONE; |
} |
}; |