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

Unified Diff: Source/core/html/forms/URLInputType.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/URLInputType.cpp
diff --git a/Source/core/html/forms/URLInputType.cpp b/Source/core/html/forms/URLInputType.cpp
index 0de752bdfc6039400826c394909f73ea64d75385..33017eb34c71fc50c9388e1d434ec21ce3f11a70 100644
--- a/Source/core/html/forms/URLInputType.cpp
+++ b/Source/core/html/forms/URLInputType.cpp
@@ -31,8 +31,8 @@
#include "config.h"
#include "core/html/forms/URLInputType.h"
+#include "InputTypeNames.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "platform/text/PlatformLocale.h"
#include "wtf/PassOwnPtr.h"
@@ -50,7 +50,7 @@ void URLInputType::countUsage()
const AtomicString& URLInputType::formControlType() const
{
- return InputTypeNames::url();
+ return InputTypeNames::url;
}
bool URLInputType::typeMismatchFor(const String& value) const

Powered by Google App Engine
This is Rietveld 408576698