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

Unified Diff: Source/WebCore/workers/Worker.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/workers/Worker.cpp
diff --git a/Source/WebCore/workers/Worker.cpp b/Source/WebCore/workers/Worker.cpp
index 4a8f426c9aeb250a5a91435e5c95f5ee5371b1c5..dc6be3acb186dafcca9887c4764be427597abdd6 100644
--- a/Source/WebCore/workers/Worker.cpp
+++ b/Source/WebCore/workers/Worker.cpp
@@ -36,7 +36,7 @@
#include "EventListener.h"
#include "EventNames.h"
#include "ExceptionCode.h"
-#include "FeatureObserver.h"
+#include "UseCounter.h"
#include "Frame.h"
#include "FrameLoader.h"
#include "InspectorInstrumentation.h"
@@ -58,7 +58,7 @@ inline Worker::Worker(ScriptExecutionContext* context)
PassRefPtr<Worker> Worker::create(ScriptExecutionContext* context, const String& url, ExceptionCode& ec)
{
ASSERT(isMainThread());
- FeatureObserver::observe(static_cast<Document*>(context)->domWindow(), FeatureObserver::WorkerStart);
+ UseCounter::observe(static_cast<Document*>(context)->domWindow(), UseCounter::WorkerStart);
RefPtr<Worker> worker = adoptRef(new Worker(context));

Powered by Google App Engine
This is Rietveld 408576698