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

Unified Diff: Source/core/html/forms/TelephoneInputType.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/TelephoneInputType.cpp
diff --git a/Source/core/html/forms/TelephoneInputType.cpp b/Source/core/html/forms/TelephoneInputType.cpp
index 44bb48a0f87a977e241fc155df1a8ee52ca8b387..4b5e2edbd4866e4c0e91165bbeb6e61f3063c22e 100644
--- a/Source/core/html/forms/TelephoneInputType.cpp
+++ b/Source/core/html/forms/TelephoneInputType.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "core/html/forms/TelephoneInputType.h"
-#include "core/html/forms/InputTypeNames.h"
+#include "InputTypeNames.h"
#include "wtf/PassOwnPtr.h"
namespace WebCore {
@@ -48,7 +48,7 @@ void TelephoneInputType::countUsage()
const AtomicString& TelephoneInputType::formControlType() const
{
- return InputTypeNames::telephone();
+ return InputTypeNames::tel;
}
bool TelephoneInputType::shouldRespectSpeechAttribute()

Powered by Google App Engine
This is Rietveld 408576698