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

Unified Diff: Source/WebCore/workers/WorkerMessagingProxy.cpp

Issue 10270006: Merge 113138 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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/WebCore/workers/WorkerMessagingProxy.h ('k') | Source/WebKit/chromium/src/WebSharedWorkerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/workers/WorkerMessagingProxy.cpp
===================================================================
--- Source/WebCore/workers/WorkerMessagingProxy.cpp (revision 115611)
+++ Source/WebCore/workers/WorkerMessagingProxy.cpp (working copy)
@@ -296,13 +296,14 @@
m_queuedEarlyTasks.append(MessageWorkerContextTask::create(message, channels));
}
-void WorkerMessagingProxy::postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode)
+bool WorkerMessagingProxy::postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode)
{
if (m_askedToTerminate)
- return;
+ return false;
ASSERT(m_workerThread);
m_workerThread->runLoop().postTaskForMode(task, mode);
+ return true;
}
void WorkerMessagingProxy::postTaskToLoader(PassOwnPtr<ScriptExecutionContext::Task> task)
« no previous file with comments | « Source/WebCore/workers/WorkerMessagingProxy.h ('k') | Source/WebKit/chromium/src/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698