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

Unified Diff: Source/bindings/core/v8/WorkerScriptDebugServer.cpp

Issue 1115923002: workers: Rename WorkerThread to WorkerScript. 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/bindings/core/v8/WorkerScriptDebugServer.cpp
diff --git a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
index d9542d0b2595ddacfef1564ff143eb8fd57c414d..b120268b08eed0eca58763b4c7c5cd62320ccee3 100644
--- a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
+++ b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
@@ -36,7 +36,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>
@@ -87,12 +87,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)

Powered by Google App Engine
This is Rietveld 408576698