| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 4784ce7a1b69deef102ef9025518d504814668be..6ba16d937abce7563ac4ffb25cc655e5b7c645c1 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1745,29 +1745,6 @@ static bool LayerHasTouchEventHandlersAt(const gfx::PointF& screen_space_point,
|
| return true;
|
| }
|
|
|
| -struct FindWheelEventLayerFunctor {
|
| - bool operator()(LayerImpl* layer) const {
|
| - return layer->wheel_event_properties() != EventListenerProperties::kNone;
|
| - }
|
| -};
|
| -
|
| -LayerImpl* LayerTreeImpl::FindLayerWithWheelHandlerThatIsHitByPoint(
|
| - const gfx::PointF& screen_space_point) {
|
| - if (!root_layer())
|
| - return NULL;
|
| - bool update_lcd_text = false;
|
| - if (!UpdateDrawProperties(update_lcd_text))
|
| - return NULL;
|
| - bool use_property_trees =
|
| - settings().use_property_trees || settings().verify_property_trees;
|
| - FindWheelEventLayerFunctor func;
|
| - FindClosestMatchingLayerDataForRecursion data_for_recursion;
|
| - FindClosestMatchingLayer(
|
| - screen_space_point, root_layer(), func, property_trees_.transform_tree,
|
| - property_trees_.clip_tree, use_property_trees, &data_for_recursion);
|
| - return data_for_recursion.closest_match;
|
| -}
|
| -
|
| struct FindTouchEventLayerFunctor {
|
| bool operator()(LayerImpl* layer) const {
|
| return LayerHasTouchEventHandlersAt(screen_space_point, layer,
|
|
|