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

Unified Diff: Source/core/html/forms/TimeInputType.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/TimeInputType.cpp
diff --git a/Source/core/html/forms/TimeInputType.cpp b/Source/core/html/forms/TimeInputType.cpp
index 83a3fbaf532741c907331bc0fb0eb499b35248b4..cc135bd2e8a7c510ff034cf64899e6a2dea1a1b0 100644
--- a/Source/core/html/forms/TimeInputType.cpp
+++ b/Source/core/html/forms/TimeInputType.cpp
@@ -32,9 +32,9 @@
#include "core/html/forms/TimeInputType.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"
@@ -68,7 +68,7 @@ void TimeInputType::countUsage()
const AtomicString& TimeInputType::formControlType() const
{
- return InputTypeNames::time();
+ return InputTypeNames::time;
}
DateComponents::Type TimeInputType::dateType() const

Powered by Google App Engine
This is Rietveld 408576698