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

Unified Diff: Source/core/workers/DedicatedWorkerThread.cpp

Issue 423303004: Change WokerThread to use a blink::WebThread (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove changes made to WebThread. Created 6 years, 5 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
« no previous file with comments | « Source/core/workers/DedicatedWorkerThread.h ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/DedicatedWorkerThread.cpp
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp
index 1e253243e7b6043703bebf7f5d7c75b85d0c9ddd..ea4c2bb88214d3a575b7da3ca3214621ebc8b2fe 100644
--- a/Source/core/workers/DedicatedWorkerThread.cpp
+++ b/Source/core/workers/DedicatedWorkerThread.cpp
@@ -59,11 +59,11 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlo
return DedicatedWorkerGlobalScope::create(this, startupData, m_timeOrigin);
}
-void DedicatedWorkerThread::runEventLoop()
+void DedicatedWorkerThread::postInitialize()
{
- // Notify the parent object of our current active state before calling the superclass to run the event loop.
+ // Notify the parent object of our current active state before the event
+ // loop starts processing tasks.
m_workerObjectProxy.reportPendingActivity(workerGlobalScope()->hasPendingActivity());
- WorkerThread::runEventLoop();
}
} // namespace blink
« no previous file with comments | « Source/core/workers/DedicatedWorkerThread.h ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698