Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index 7d09eae348f4d3c1d3db1f1b50362dd276b78629..80eb23a6d98abe4e4e2a0d0b7e72477d32ec560b 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -109,8 +109,10 @@ namespace { |
bool hasTouchHandlers(const EventHandlerRegistry& registry) |
{ |
- return registry.hasEventHandlers(EventHandlerRegistry::TouchEventBlocking) |
- || registry.hasEventHandlers(EventHandlerRegistry::TouchEventPassive); |
+ return registry.hasEventHandlers(EventHandlerRegistry::TouchStartOrMoveEventBlocking) |
+ || registry.hasEventHandlers(EventHandlerRegistry::TouchStartOrMoveEventPassive) |
+ || registry.hasEventHandlers(EventHandlerRegistry::TouchEndOrCancelEventBlocking) |
+ || registry.hasEventHandlers(EventHandlerRegistry::TouchEndOrCancelEventPassive); |
} |
const AtomicString& touchEventNameForTouchPointState(PlatformTouchPoint::TouchState state) |