Index: Source/core/workers/SharedWorker.cpp |
diff --git a/Source/core/workers/SharedWorker.cpp b/Source/core/workers/SharedWorker.cpp |
index a29773985a4e5dba826dfd372d67b28d276919d5..bb8825cd4f510bf10f2ec6a21146126e56814b88 100644 |
--- a/Source/core/workers/SharedWorker.cpp |
+++ b/Source/core/workers/SharedWorker.cpp |
@@ -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()); |
- UseCounter::observe(static_cast<Document*>(context)->domWindow(), UseCounter::SharedWorkerStart); |
+ UseCounter::count(static_cast<Document*>(context)->domWindow(), UseCounter::SharedWorkerStart); |
RefPtr<SharedWorker> worker = adoptRef(new SharedWorker(context)); |