Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index fc4425ffdfbd3e0b92986e61c7e5d703af69c9c9..5c5eb44620be347c88b4c39119a993f2a3735aea 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -176,7 +176,7 @@ HTMLInputElement::~HTMLInputElement() |
if (type() == InputTypeNames::radio) |
document().formController().radioButtonGroupScope().removeButton(this); |
if (m_hasTouchEventHandler && document().frameHost()) |
- document().frameHost()->eventHandlerRegistry().didRemoveEventHandler(*this, EventHandlerRegistry::TouchEvent); |
+ document().frameHost()->eventHandlerRegistry().didRemoveEventHandler(*this, EventHandlerRegistry::TouchEventBlocking); |
Rick Byers
2016/02/04 22:18:57
nit: Add a TODO saying to make this passive, refer
|
#endif |
} |
@@ -420,9 +420,9 @@ void HTMLInputElement::updateTouchEventHandlerRegistry() |
if (document().frameHost() && document().lifecycle().state() < DocumentLifecycle::Stopping) { |
EventHandlerRegistry& registry = document().frameHost()->eventHandlerRegistry(); |
if (hasTouchEventHandler) |
- registry.didAddEventHandler(*this, EventHandlerRegistry::TouchEvent); |
+ registry.didAddEventHandler(*this, EventHandlerRegistry::TouchEventBlocking); |
else |
- registry.didRemoveEventHandler(*this, EventHandlerRegistry::TouchEvent); |
+ registry.didRemoveEventHandler(*this, EventHandlerRegistry::TouchEventBlocking); |
m_hasTouchEventHandler = hasTouchEventHandler; |
} |
} |