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

Unified Diff: Source/WebCore/html/InputType.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/InputType.cpp
diff --git a/Source/WebCore/html/InputType.cpp b/Source/WebCore/html/InputType.cpp
index 3ad1d98cd2db517860862781d58624eb091053a9..bfc19d5b43057f1d5dbd887ae871f2801c9708a7 100644
--- a/Source/WebCore/html/InputType.cpp
+++ b/Source/WebCore/html/InputType.cpp
@@ -1120,11 +1120,11 @@ void InputType::stepUpFromRenderer(int n)
}
}
-void InputType::observeFeatureIfVisible(FeatureObserver::Feature feature) const
+void InputType::observeFeatureIfVisible(UseCounter::Feature feature) const
{
if (RenderStyle* style = element()->renderStyle()) {
if (style->visibility() != HIDDEN)
- FeatureObserver::observe(element()->document(), feature);
+ UseCounter::observe(element()->document(), feature);
}
}

Powered by Google App Engine
This is Rietveld 408576698