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

Unified Diff: Source/core/html/forms/ButtonInputType.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/ButtonInputType.cpp
diff --git a/Source/core/html/forms/ButtonInputType.cpp b/Source/core/html/forms/ButtonInputType.cpp
index b56ac9a2123ed068e8ffe6694e3e983b97c9c38e..39e112c03febf5c678dcf0689ee10221cf867839 100644
--- a/Source/core/html/forms/ButtonInputType.cpp
+++ b/Source/core/html/forms/ButtonInputType.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "core/html/forms/ButtonInputType.h"
-#include "core/html/forms/InputTypeNames.h"
+#include "InputTypeNames.h"
#include "wtf/PassOwnPtr.h"
namespace WebCore {
@@ -43,7 +43,7 @@ PassRefPtr<InputType> ButtonInputType::create(HTMLInputElement& element)
const AtomicString& ButtonInputType::formControlType() const
{
- return InputTypeNames::button();
+ return InputTypeNames::button;
}
bool ButtonInputType::supportsValidation() const

Powered by Google App Engine
This is Rietveld 408576698