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

Unified Diff: Source/core/html/forms/SubmitInputType.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/SubmitInputType.cpp
diff --git a/Source/core/html/forms/SubmitInputType.cpp b/Source/core/html/forms/SubmitInputType.cpp
index 231f60384c496931f246e91ffaf6cfb7dc5536f9..3b25b468ec144436d67b1a603c5c40dd95b9920e 100644
--- a/Source/core/html/forms/SubmitInputType.cpp
+++ b/Source/core/html/forms/SubmitInputType.cpp
@@ -32,11 +32,11 @@
#include "config.h"
#include "core/html/forms/SubmitInputType.h"
+#include "InputTypeNames.h"
#include "core/events/Event.h"
#include "core/html/FormDataList.h"
#include "core/html/HTMLFormElement.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "platform/text/PlatformLocale.h"
#include "wtf/PassOwnPtr.h"
@@ -49,7 +49,7 @@ PassRefPtr<InputType> SubmitInputType::create(HTMLInputElement& element)
const AtomicString& SubmitInputType::formControlType() const
{
- return InputTypeNames::submit();
+ return InputTypeNames::submit;
}
bool SubmitInputType::appendFormData(FormDataList& encoding, bool) const

Powered by Google App Engine
This is Rietveld 408576698