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 03048f3e7f42660bcc569c3b92ae4d4fa795ceb7..2e0e5b98791718a419b4fe75fdc26803d44b097f 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -571,16 +571,8 @@ bool LayerTreeHostImpl::IsCurrentlyScrollingLayerAt( |
return false; |
} |
-bool LayerTreeHostImpl::HaveWheelEventHandlersAt( |
- const gfx::Point& viewport_point) { |
- gfx::PointF device_viewport_point = gfx::ScalePoint( |
- gfx::PointF(viewport_point), active_tree_->device_scale_factor()); |
- |
- LayerImpl* layer_impl = |
- active_tree_->FindLayerWithWheelHandlerThatIsHitByPoint( |
- device_viewport_point); |
- |
- return layer_impl != NULL; |
+bool LayerTreeHostImpl::HaveWheelEventHandlers() const { |
+ return active_tree_->have_wheel_event_handlers(); |
} |
static LayerImpl* NextLayerInScrollOrder(LayerImpl* layer) { |