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

Unified Diff: Source/core/inspector/WorkerDebuggerAgent.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
Index: Source/core/inspector/WorkerDebuggerAgent.cpp
diff --git a/Source/core/inspector/WorkerDebuggerAgent.cpp b/Source/core/inspector/WorkerDebuggerAgent.cpp
index 7026b98549ca49054ffef4f9069325734571b16b..c478e94243c6903b36dbb77064ac46c91533aa28 100644
--- a/Source/core/inspector/WorkerDebuggerAgent.cpp
+++ b/Source/core/inspector/WorkerDebuggerAgent.cpp
@@ -33,6 +33,7 @@
#include "bindings/core/v8/ScriptDebugServer.h"
#include "core/inspector/InjectedScript.h"
+#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/WorkerInspectorController.h"
#include "core/workers/WorkerGlobalScope.h"
#include "core/workers/WorkerThread.h"
@@ -51,9 +52,9 @@ public:
{
// Process all queued debugger commands. WorkerThread is certainly
// alive if this task is being executed.
- m_thread->willEnterNestedLoop();
+ InspectorInstrumentation::willEnterNestedRunLoop(m_thread->workerGlobalScope());
while (MessageQueueMessageReceived == m_thread->runDebuggerTask(WorkerThread::DontWaitForMessage)) { }
- m_thread->didLeaveNestedLoop();
+ InspectorInstrumentation::didLeaveNestedRunLoop(m_thread->workerGlobalScope());
}
private:
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptDebugServer.cpp ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698