| 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:
|
|
|