Index: Source/WebCore/workers/SharedWorker.cpp |
diff --git a/Source/WebCore/workers/SharedWorker.cpp b/Source/WebCore/workers/SharedWorker.cpp |
index b29459a3603b78c03962606a77f2a72ea888c2eb..2250183007b704a9573ffd44b8b009e7f2f52ec6 100644 |
--- a/Source/WebCore/workers/SharedWorker.cpp |
+++ b/Source/WebCore/workers/SharedWorker.cpp |
@@ -36,7 +36,7 @@ |
#include "SharedWorker.h" |
#include "ExceptionCode.h" |
-#include "FeatureObserver.h" |
+#include "UseCounter.h" |
#include "InspectorInstrumentation.h" |
#include "KURL.h" |
#include "MessageChannel.h" |
@@ -55,7 +55,7 @@ inline SharedWorker::SharedWorker(ScriptExecutionContext* context) |
PassRefPtr<SharedWorker> SharedWorker::create(ScriptExecutionContext* context, const String& url, const String& name, ExceptionCode& ec) |
{ |
ASSERT(isMainThread()); |
- FeatureObserver::observe(static_cast<Document*>(context)->domWindow(), FeatureObserver::SharedWorkerStart); |
+ UseCounter::observe(static_cast<Document*>(context)->domWindow(), UseCounter::SharedWorkerStart); |
RefPtr<SharedWorker> worker = adoptRef(new SharedWorker(context)); |