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

Unified Diff: Source/web/WebSharedWorkerImpl.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« Source/core/workers/WorkerThread.h ('K') | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSharedWorkerImpl.cpp
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
index b36029b4be8659ac126feb7ecafe6085d614ab0c..e6dd1618fb2ee994d3591ab205ecc6d2c7647b82 100644
--- a/Source/web/WebSharedWorkerImpl.cpp
+++ b/Source/web/WebSharedWorkerImpl.cpp
@@ -442,8 +442,10 @@ static void dispatchOnInspectorBackendTask(ExecutionContext* context, const Stri
void WebSharedWorkerImpl::dispatchDevToolsMessage(const WebString& message)
{
+ if (m_askedToTerminate)
+ return;
workerThread()->runLoop().postDebuggerTask(createCallbackTask(dispatchOnInspectorBackendTask, String(message)));
- WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(workerThread());
+ workerThread()->interruptAndDispatchInspectorCommands();
}
WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client)
« Source/core/workers/WorkerThread.h ('K') | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698