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

Unified Diff: Source/core/html/forms/EmailInputType.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/EmailInputType.cpp
diff --git a/Source/core/html/forms/EmailInputType.cpp b/Source/core/html/forms/EmailInputType.cpp
index 91f7bf84008146d0de354aada4549a3c13210fd1..30c8876a5f4fa11beeac8b7a3e7ff8252631b646 100644
--- a/Source/core/html/forms/EmailInputType.cpp
+++ b/Source/core/html/forms/EmailInputType.cpp
@@ -24,9 +24,8 @@
#include "config.h"
#include "core/html/forms/EmailInputType.h"
-#include <unicode/uidna.h>
+#include "InputTypeNames.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/forms/InputTypeNames.h"
#include "core/html/parser/HTMLParserIdioms.h"
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
@@ -35,6 +34,7 @@
#include "public/platform/Platform.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/StringBuilder.h"
+#include <unicode/uidna.h>
namespace WebCore {
@@ -153,7 +153,7 @@ void EmailInputType::countUsage()
const AtomicString& EmailInputType::formControlType() const
{
- return InputTypeNames::email();
+ return InputTypeNames::email;
}
// The return value is an invalid email address string if the specified string

Powered by Google App Engine
This is Rietveld 408576698