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

Unified Diff: Source/core/html/forms/MonthInputType.cpp

Issue 72683003: Auto-generate InputTypeNames source from InputTypeNames.in. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/html/forms/MonthInputType.cpp
diff --git a/Source/core/html/forms/MonthInputType.cpp b/Source/core/html/forms/MonthInputType.cpp
index 1652dff105034612bfdba5915c92adb06749458d..3003558693df0ab5e7ef9c346b4431894d1f6fea 100644
--- a/Source/core/html/forms/MonthInputType.cpp
+++ b/Source/core/html/forms/MonthInputType.cpp
@@ -32,9 +32,9 @@
#include "core/html/forms/MonthInputType.h"
#include "HTMLNames.h"
+#include "InputTypeNames.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/forms/DateTimeFieldsState.h"
-#include "core/html/forms/InputTypeNames.h"
#include "platform/DateComponents.h"
#include "platform/text/PlatformLocale.h"
#include "wtf/CurrentTime.h"
@@ -63,7 +63,7 @@ void MonthInputType::countUsage()
const AtomicString& MonthInputType::formControlType() const
{
- return InputTypeNames::month();
+ return InputTypeNames::month;
}
DateComponents::Type MonthInputType::dateType() const

Powered by Google App Engine
This is Rietveld 408576698