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

Unified Diff: Source/core/html/forms/ColorInputType.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/ColorInputType.cpp
diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
index a7aedbc424d0635463303470ad25655672dcecae..d6e7ec55d8831dc3f6642ab70677106e6c588de8 100644
--- a/Source/core/html/forms/ColorInputType.cpp
+++ b/Source/core/html/forms/ColorInputType.cpp
@@ -32,6 +32,7 @@
#include "core/html/forms/ColorInputType.h"
#include "CSSPropertyNames.h"
+#include "InputTypeNames.h"
#include "RuntimeEnabledFeatures.h"
#include "bindings/v8/ExceptionStatePlaceholder.h"
#include "bindings/v8/ScriptController.h"
@@ -41,7 +42,6 @@
#include "core/html/HTMLDivElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLOptionElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "core/page/Chrome.h"
#include "core/rendering/RenderView.h"
#include "platform/UserGestureIndicator.h"
@@ -94,7 +94,7 @@ bool ColorInputType::isColorControl() const
const AtomicString& ColorInputType::formControlType() const
{
- return InputTypeNames::color();
+ return InputTypeNames::color;
}
bool ColorInputType::supportsRequired() const

Powered by Google App Engine
This is Rietveld 408576698