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

Unified Diff: Source/core/html/forms/CheckboxInputType.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/CheckboxInputType.cpp
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp
index 526c9ae4a259f0853122592e63ea89142323aac8..738f9d58b9b0b15abb71a562058d9f40f5284f47 100644
--- a/Source/core/html/forms/CheckboxInputType.cpp
+++ b/Source/core/html/forms/CheckboxInputType.cpp
@@ -32,9 +32,9 @@
#include "config.h"
#include "core/html/forms/CheckboxInputType.h"
+#include "InputTypeNames.h"
#include "core/events/KeyboardEvent.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "platform/text/PlatformLocale.h"
#include "wtf/PassOwnPtr.h"
@@ -47,7 +47,7 @@ PassRefPtr<InputType> CheckboxInputType::create(HTMLInputElement& element)
const AtomicString& CheckboxInputType::formControlType() const
{
- return InputTypeNames::checkbox();
+ return InputTypeNames::checkbox;
}
bool CheckboxInputType::valueMissing(const String&) const

Powered by Google App Engine
This is Rietveld 408576698