| Index: Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| diff --git a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| index 80ce8871612ff9bcde71874e0cff2c13c1ba4ecb..8ee83c7b5bbf58461509de7a93ecb45951f577f0 100644
|
| --- a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| +++ b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| @@ -35,7 +35,7 @@
|
| #include "core/inspector/ScriptDebugListener.h"
|
| #include "core/inspector/WorkerDebuggerAgent.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| -#include "core/workers/WorkerThread.h"
|
| +#include "core/workers/WorkerScript.h"
|
| #include "wtf/MessageQueue.h"
|
| #include <v8.h>
|
|
|
| @@ -86,12 +86,12 @@ ScriptDebugListener* WorkerScriptDebugServer::getDebugListenerForContext(v8::Loc
|
| void WorkerScriptDebugServer::runMessageLoopOnPause(v8::Local<v8::Context>)
|
| {
|
| MessageQueueWaitResult result;
|
| - m_workerGlobalScope->thread()->willEnterNestedLoop();
|
| + m_workerGlobalScope->script()->willEnterNestedLoop();
|
| do {
|
| - result = m_workerGlobalScope->thread()->runDebuggerTask();
|
| + result = m_workerGlobalScope->script()->runDebuggerTask();
|
| // Keep waiting until execution is resumed.
|
| } while (result == MessageQueueMessageReceived && isPaused());
|
| - m_workerGlobalScope->thread()->didLeaveNestedLoop();
|
| + m_workerGlobalScope->script()->didLeaveNestedLoop();
|
|
|
| // The listener may have been removed in the nested loop.
|
| if (m_listener)
|
|
|