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

Unified Diff: Source/WebCore/html/HTMLTextFormControlElement.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/HTMLTextFormControlElement.cpp
diff --git a/Source/WebCore/html/HTMLTextFormControlElement.cpp b/Source/WebCore/html/HTMLTextFormControlElement.cpp
index cf8ca8a84bb7d50b674d941e43f2f2103c5263e5..783baf1db758c66d8280706a42784b21b538c010 100644
--- a/Source/WebCore/html/HTMLTextFormControlElement.cpp
+++ b/Source/WebCore/html/HTMLTextFormControlElement.cpp
@@ -31,7 +31,7 @@
#include "Document.h"
#include "Event.h"
#include "EventNames.h"
-#include "FeatureObserver.h"
+#include "UseCounter.h"
#include "Frame.h"
#include "HTMLBRElement.h"
#include "HTMLFormElement.h"
@@ -511,7 +511,7 @@ void HTMLTextFormControlElement::parseAttribute(const QualifiedName& name, const
{
if (name == placeholderAttr) {
updatePlaceholderVisibility(true);
- FeatureObserver::observe(document(), FeatureObserver::PlaceholderAttribute);
+ UseCounter::observe(document(), UseCounter::PlaceholderAttribute);
} else
HTMLFormControlElementWithState::parseAttribute(name, value);
}

Powered by Google App Engine
This is Rietveld 408576698