| 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 677a9f86819cd94e5a8368f7b80a46ad5fb59109..8fd9f540312314e970d457b605873dc4605de07a 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -48,6 +48,7 @@
|
| #include "core/events/BeforeTextInsertedEvent.h"
|
| #include "core/events/KeyboardEvent.h"
|
| #include "core/events/MouseEvent.h"
|
| +#include "core/events/PointerEvent.h"
|
| #include "core/events/ScopedEventQueue.h"
|
| #include "core/frame/Deprecation.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -1281,8 +1282,8 @@ void HTMLInputElement::defaultEventHandler(Event* evt) {
|
| m_inputTypeView->handleBeforeTextInsertedEvent(
|
| static_cast<BeforeTextInsertedEvent*>(evt));
|
|
|
| - if (evt->isMouseEvent() && evt->type() == EventTypeNames::mousedown) {
|
| - m_inputTypeView->handleMouseDownEvent(toMouseEvent(evt));
|
| + if (evt->isPointerEvent() && evt->type() == EventTypeNames::pointerdown) {
|
| + m_inputTypeView->handlePointerDownEvent(toPointerEvent(evt));
|
| if (evt->defaultHandled())
|
| return;
|
| }
|
|
|