Index: ui/events/blink/input_handler_proxy.cc |
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc |
index b22957efc3616bbd406e3b6fbfdd5563041b4200..cecf7df0c2f157963876234ebb086176ad7efd08 100644 |
--- a/ui/events/blink/input_handler_proxy.cc |
+++ b/ui/events/blink/input_handler_proxy.cc |
@@ -288,7 +288,9 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent( |
const WebGestureEvent& gesture_event = |
static_cast<const WebGestureEvent&>(event); |
if (gesture_event.sourceDevice == blink::WebGestureDeviceTouchpad && |
- input_handler_->HaveWheelEventHandlers()) { |
+ input_handler_->GetEventListenerProperties( |
+ cc::EventListenerClass::kMouseWheel) != |
+ cc::EventListenerProperties::kNone) { |
return DID_NOT_HANDLE; |
} else { |
input_handler_->PinchGestureBegin(); |