Index: Source/core/html/shadow/TextControlInnerElements.cpp |
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp |
index 5c86563ef43e07464dbf108159655a2b73c6d293..b2dfb1764215750a9a4c61a2a36a564fe3864419 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.cpp |
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp |
@@ -231,6 +231,7 @@ void SearchFieldCancelButtonElement::defaultEventHandler(Event* event) |
if (event->type() == EventTypeNames::click && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { |
input->setValueForUser(""); |
+ input->setAutofilled(false); |
input->onSearch(); |
event->setDefaultHandled(); |
} |