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

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

Issue 14301003: Rename FeatureObserver to UseCounter to make clear that all it stores are usage counts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with 20% more awesome Created 7 years, 8 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
Index: Source/WebCore/html/TextInputType.cpp
diff --git a/Source/WebCore/html/TextInputType.cpp b/Source/WebCore/html/TextInputType.cpp
index f7a9b589b2569115cbb9f30561aed03eec5be8d9..556f471f61acf9d38a28f59b7ba7c74dd38985b7 100644
--- a/Source/WebCore/html/TextInputType.cpp
+++ b/Source/WebCore/html/TextInputType.cpp
@@ -49,9 +49,9 @@ void TextInputType::attach()
TextFieldInputType::attach();
const AtomicString& type = element()->fastGetAttribute(typeAttr);
if (equalIgnoringCase(type, InputTypeNames::datetime()))
- observeFeatureIfVisible(FeatureObserver::InputTypeDateTimeFallback);
+ observeFeatureIfVisible(UseCounter::InputTypeDateTimeFallback);
else if (equalIgnoringCase(type, InputTypeNames::week()))
- observeFeatureIfVisible(FeatureObserver::InputTypeWeekFallback);
+ observeFeatureIfVisible(UseCounter::InputTypeWeekFallback);
}
const AtomicString& TextInputType::formControlType() const

Powered by Google App Engine
This is Rietveld 408576698