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

Unified Diff: Source/web/WebEmbeddedWorkerImpl.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, 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/modules/webdatabase/InspectorDatabaseAgent.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp
index 7853ed9487b53cff814c08256a0c8e5a031f7d97..71aac5f62281c14c80327b991808f800df9244ed 100644
--- a/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -261,8 +261,10 @@ void WebEmbeddedWorkerImpl::detachDevTools()
void WebEmbeddedWorkerImpl::dispatchDevToolsMessage(const WebString& message)
{
+ if (m_askedToTerminate)
+ return;
m_workerThread->runLoop().postDebuggerTask(createCrossThreadTask(dispatchOnInspectorBackendTask, String(message)));
- WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(m_workerThread.get());
+ m_workerThread->interruptAndDispatchInspectorCommands();
}
void WebEmbeddedWorkerImpl::prepareShadowPageForLoader()
« no previous file with comments | « Source/modules/webdatabase/InspectorDatabaseAgent.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698