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

Unified Diff: Source/core/inspector/WorkerInspectorController.cpp

Issue 1131183003: WorkerThread: Remove willEnterNestedLoop() and didLeaveNestedLoop(). Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 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/inspector/WorkerDebuggerAgent.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/inspector/WorkerInspectorController.cpp
diff --git a/Source/core/inspector/WorkerInspectorController.cpp b/Source/core/inspector/WorkerInspectorController.cpp
index 2f45015aeda82bf0ff566f863b5fc86e06ceee80..85c9baf4b298a4d5e2c004df11733e5fe985101f 100644
--- a/Source/core/inspector/WorkerInspectorController.cpp
+++ b/Source/core/inspector/WorkerInspectorController.cpp
@@ -203,12 +203,12 @@ void WorkerInspectorController::pauseOnStart()
{
m_paused = true;
MessageQueueWaitResult result;
- m_workerGlobalScope->thread()->willEnterNestedLoop();
+ InspectorInstrumentation::willEnterNestedRunLoop(m_workerGlobalScope.get());
do {
result = m_workerGlobalScope->thread()->runDebuggerTask();
// Keep waiting until execution is resumed.
} while (result == MessageQueueMessageReceived && m_paused);
- m_workerGlobalScope->thread()->didLeaveNestedLoop();
+ InspectorInstrumentation::didLeaveNestedRunLoop(m_workerGlobalScope.get());
}
DEFINE_TRACE(WorkerInspectorController)
« no previous file with comments | « Source/core/inspector/WorkerDebuggerAgent.cpp ('k') | Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698