| Index: third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index daac9bbd5f7c4b8fff320bf7c658d86b1a75aece..17a553581dc1a1477d931870f7bb7c63a46e8286 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -191,7 +191,7 @@ void SearchFieldCancelButtonElement::defaultEventHandler(Event* event)
|
| }
|
|
|
|
|
| - if (event->type() == EventTypeNames::click && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) {
|
| + if (event->type() == EventTypeNames::click && event->isMouseEvent() && toMouseEvent(event)->button() == static_cast<short>(WebPointerProperties::Button::Left)) {
|
| input->setValueForUser("");
|
| input->setAutofilled(false);
|
| input->onSearch();
|
|
|