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

Unified Diff: Source/core/html/TextInputType.cpp

Issue 23330003: Separate render-specific code in InputType::attach. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months 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
« no previous file with comments | « Source/core/html/TextInputType.h ('k') | Source/core/html/TimeInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TextInputType.cpp
diff --git a/Source/core/html/TextInputType.cpp b/Source/core/html/TextInputType.cpp
index cfdfd9a7eb02dfa976ad2219543e4b0c66059086..de0ebdff493b0e64f463e3288a1dc9f4f8189a99 100644
--- a/Source/core/html/TextInputType.cpp
+++ b/Source/core/html/TextInputType.cpp
@@ -44,9 +44,8 @@ PassOwnPtr<InputType> TextInputType::create(HTMLInputElement* element)
return adoptPtr(new TextInputType(element));
}
-void TextInputType::attach()
+void TextInputType::countUsage()
{
- TextFieldInputType::attach();
const AtomicString& type = element()->fastGetAttribute(typeAttr);
if (equalIgnoringCase(type, InputTypeNames::datetime()))
observeFeatureIfVisible(UseCounter::InputTypeDateTimeFallback);
« no previous file with comments | « Source/core/html/TextInputType.h ('k') | Source/core/html/TimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698