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

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, 8 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 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)

Powered by Google App Engine
This is Rietveld 408576698