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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp

Issue 2041753002: Worker: Protect a running debugger task from forcible worker termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak if-condition Created 4 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
Index: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
index a6ae1745821100f6b4179715a1c2ed34d4a47bea..8f7d53f68da6255f6cd2f1f92f758ed886094ff9 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -76,12 +76,12 @@ int WorkerThreadDebugger::contextGroupId()
void WorkerThreadDebugger::runMessageLoopOnPause(int contextGroupId)
{
ASSERT(contextGroupId == workerContextGroupId);
- m_workerThread->startRunningDebuggerTasksOnPause();
+ m_workerThread->startRunningDebuggerTasksOnPauseOnWorkerThread();
}
void WorkerThreadDebugger::quitMessageLoopOnPause()
{
- m_workerThread->stopRunningDebuggerTasksOnPause();
+ m_workerThread->stopRunningDebuggerTasksOnPauseOnWorkerThread();
}
bool WorkerThreadDebugger::callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Local<v8::Context> target)

Powered by Google App Engine
This is Rietveld 408576698