| 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 642fb0227372f9018f2e544a8c7460d4125f45dc..459b3429dcfefd2073ac1b8c28619c04972e0e08 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -186,7 +186,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();
|
|
|