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

Unified Diff: Source/core/html/forms/ImageInputType.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/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index 7ffeee258970820b7de7ed348c9ec74149828a76..9d9331c6b7a68214fde47f86c47b9ef146d2d244 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -24,13 +24,13 @@
#include "core/html/forms/ImageInputType.h"
#include "HTMLNames.h"
+#include "InputTypeNames.h"
#include "core/events/MouseEvent.h"
#include "core/fetch/ImageResource.h"
#include "core/html/FormDataList.h"
#include "core/html/HTMLFormElement.h"
#include "core/html/HTMLImageLoader.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "core/html/parser/HTMLParserIdioms.h"
#include "core/rendering/RenderImage.h"
#include "wtf/PassOwnPtr.h"
@@ -52,7 +52,7 @@ PassRefPtr<InputType> ImageInputType::create(HTMLInputElement& element)
const AtomicString& ImageInputType::formControlType() const
{
- return InputTypeNames::image();
+ return InputTypeNames::image;
}
bool ImageInputType::isFormDataAppendable() const

Powered by Google App Engine
This is Rietveld 408576698