Index: third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp |
diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp |
index b889e6cab12db1871bb7de93baf527fb4d1cfa12..1e8a73b8c35220a1329377cd0d2856c6fe9192d7 100644 |
--- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp |
+++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp |
@@ -40,6 +40,8 @@ inline bool isPointerEventType(const AtomicString& eventType) |
WebEventListenerProperties webEventListenerProperties(bool hasBlocking, bool hasPassive) |
{ |
+ if (hasBlocking && hasPassive) |
+ return WebEventListenerProperties::BlockingAndPassive; |
if (hasBlocking) |
return WebEventListenerProperties::Blocking; |
if (hasPassive) |