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

Unified Diff: Source/core/html/forms/HiddenInputType.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/HiddenInputType.cpp
diff --git a/Source/core/html/forms/HiddenInputType.cpp b/Source/core/html/forms/HiddenInputType.cpp
index 2a9a0ea69dbf136ef099771388d84ae6970eb470..5ce1c5d9318d134b82d36a71f3e1a8e5d4ae9c76 100644
--- a/Source/core/html/forms/HiddenInputType.cpp
+++ b/Source/core/html/forms/HiddenInputType.cpp
@@ -33,10 +33,10 @@
#include "core/html/forms/HiddenInputType.h"
#include "HTMLNames.h"
+#include "InputTypeNames.h"
#include "core/html/FormDataList.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/forms/FormController.h"
-#include "core/html/forms/InputTypeNames.h"
#include "wtf/PassOwnPtr.h"
namespace WebCore {
@@ -50,7 +50,7 @@ PassRefPtr<InputType> HiddenInputType::create(HTMLInputElement& element)
const AtomicString& HiddenInputType::formControlType() const
{
- return InputTypeNames::hidden();
+ return InputTypeNames::hidden;
}
FormControlState HiddenInputType::saveFormControlState() const

Powered by Google App Engine
This is Rietveld 408576698