Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp

Issue 2794273002: Remove the argument of InputType::didSetValueByUserEdit(). (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
index 8731c690fbe4c74d4055739aa7a662884d4d684c..93aa0aa47a2631d971be8964a3addc1ee5f2c0ad 100644
--- a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
@@ -131,14 +131,14 @@ bool SearchInputType::searchEventsShouldBeDispatched() const {
return element().hasAttribute(incrementalAttr);
}
-void SearchInputType::didSetValueByUserEdit(ValueChangeState state) {
+void SearchInputType::didSetValueByUserEdit() {
updateCancelButtonVisibility();
// If the incremental attribute is set, then dispatch the search event
if (searchEventsShouldBeDispatched())
startSearchEventTimer();
- TextFieldInputType::didSetValueByUserEdit(state);
+ TextFieldInputType::didSetValueByUserEdit();
}
void SearchInputType::updateView() {

Powered by Google App Engine
This is Rietveld 408576698