Index: Source/core/workers/DedicatedWorkerThread.cpp |
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp |
index ea4c2bb88214d3a575b7da3ca3214621ebc8b2fe..1e253243e7b6043703bebf7f5d7c75b85d0c9ddd 100644 |
--- a/Source/core/workers/DedicatedWorkerThread.cpp |
+++ b/Source/core/workers/DedicatedWorkerThread.cpp |
@@ -59,11 +59,11 @@ |
return DedicatedWorkerGlobalScope::create(this, startupData, m_timeOrigin); |
} |
-void DedicatedWorkerThread::postInitialize() |
+void DedicatedWorkerThread::runEventLoop() |
{ |
- // Notify the parent object of our current active state before the event |
- // loop starts processing tasks. |
+ // Notify the parent object of our current active state before calling the superclass to run the event loop. |
m_workerObjectProxy.reportPendingActivity(workerGlobalScope()->hasPendingActivity()); |
+ WorkerThread::runEventLoop(); |
} |
} // namespace blink |