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

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

Issue 2462983002: INPUT element: code cleanup (Closed)
Patch Set: Created 4 years, 1 month 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/ResetInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ResetInputType.cpp b/third_party/WebKit/Source/core/html/forms/ResetInputType.cpp
index c2cb117d8931a6e4ad7ad83b8f2bbc4a6c9ecf8e..e37c5929b93ae6d99b85651a30e3e3bb26716255 100644
--- a/third_party/WebKit/Source/core/html/forms/ResetInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ResetInputType.cpp
@@ -58,7 +58,7 @@ void ResetInputType::handleDOMActivateEvent(Event* event) {
event->setDefaultHandled();
}
-String ResetInputType::defaultValue() const {
+String ResetInputType::defaultLabel() const {
return locale().queryString(WebLocalizedString::ResetButtonDefaultLabel);
}

Powered by Google App Engine
This is Rietveld 408576698