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

Unified Diff: Source/core/html/forms/WeekInputType.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/WeekInputType.cpp
diff --git a/Source/core/html/forms/WeekInputType.cpp b/Source/core/html/forms/WeekInputType.cpp
index 84d854212d6c5423604328a750f4c0286bc62031..d164ff22f4cc445d6a09c757a9069ec8c925f8f8 100644
--- a/Source/core/html/forms/WeekInputType.cpp
+++ b/Source/core/html/forms/WeekInputType.cpp
@@ -32,9 +32,9 @@
#include "core/html/forms/WeekInputType.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/PassOwnPtr.h"
@@ -60,7 +60,7 @@ void WeekInputType::countUsage()
const AtomicString& WeekInputType::formControlType() const
{
- return InputTypeNames::week();
+ return InputTypeNames::week;
}
DateComponents::Type WeekInputType::dateType() const

Powered by Google App Engine
This is Rietveld 408576698