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

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

Issue 15338009: Move workers to Chromium threading (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert actual model change Created 7 years, 7 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/WorkerMessagingProxy.cpp ('k') | Source/core/workers/WorkerThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerRunLoop.cpp
diff --git a/Source/core/workers/WorkerRunLoop.cpp b/Source/core/workers/WorkerRunLoop.cpp
index 65933251c8efbf050777834264cd0de144ecbad4..9c6ffd4f38e25eb64faa06ec89d3a01c20ea1332 100644
--- a/Source/core/workers/WorkerRunLoop.cpp
+++ b/Source/core/workers/WorkerRunLoop.cpp
@@ -147,7 +147,7 @@ MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerContext* context, const Mo
{
ASSERT(context);
ASSERT(context->thread());
- ASSERT(context->thread()->threadID() == currentThread());
+ ASSERT(context->thread()->isCurrentThread());
double absoluteTime = 0.0;
if (waitMode == WaitForMessage)
@@ -178,7 +178,7 @@ void WorkerRunLoop::runCleanupTasks(WorkerContext* context)
{
ASSERT(context);
ASSERT(context->thread());
- ASSERT(context->thread()->threadID() == currentThread());
+ ASSERT(context->thread()->isCurrentThread());
ASSERT(m_messageQueue.killed());
while (true) {
« no previous file with comments | « Source/core/workers/WorkerMessagingProxy.cpp ('k') | Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698