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

Unified Diff: Source/core/html/forms/PasswordInputType.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/PasswordInputType.cpp
diff --git a/Source/core/html/forms/PasswordInputType.cpp b/Source/core/html/forms/PasswordInputType.cpp
index 74557b0c908a3e2d8b07e331ebac31bc18cd3b00..7350aa85f28ecfb8c55e1edde4585f123c8743d1 100644
--- a/Source/core/html/forms/PasswordInputType.cpp
+++ b/Source/core/html/forms/PasswordInputType.cpp
@@ -34,10 +34,10 @@
#include "CSSPropertyNames.h"
#include "CSSValueKeywords.h"
+#include "InputTypeNames.h"
#include "core/dom/shadow/ShadowRoot.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/forms/FormController.h"
-#include "core/html/forms/InputTypeNames.h"
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
@@ -93,7 +93,7 @@ void PasswordInputType::createShadowSubtree()
const AtomicString& PasswordInputType::formControlType() const
{
- return InputTypeNames::password();
+ return InputTypeNames::password;
}
bool PasswordInputType::shouldSaveAndRestoreFormControlState() const

Powered by Google App Engine
This is Rietveld 408576698