Index: Source/bindings/core/v8/WorkerScriptController.cpp |
diff --git a/Source/bindings/core/v8/WorkerScriptController.cpp b/Source/bindings/core/v8/WorkerScriptController.cpp |
index c1d852cc41976d26ae5bda63f5726cc090c91a3f..4ed8549b734c3a78b2dcbec423a1138e171753df 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.cpp |
+++ b/Source/bindings/core/v8/WorkerScriptController.cpp |
@@ -49,7 +49,7 @@ |
#include "core/workers/SharedWorkerGlobalScope.h" |
#include "core/workers/WorkerGlobalScope.h" |
#include "core/workers/WorkerObjectProxy.h" |
-#include "core/workers/WorkerThread.h" |
+#include "core/workers/WorkerScript.h" |
#include "platform/heap/ThreadState.h" |
#include "public/platform/Platform.h" |
#include <v8.h> |
@@ -120,9 +120,9 @@ WorkerScriptController::~WorkerScriptController() |
m_world->dispose(); |
- // The corresponding call to didStartRunLoop() is in WorkerThread::initialize(). |
+ // The corresponding call to didStartRunLoop() is in WorkerScript::initialize(). |
// See http://webkit.org/b/83104#c14 for why this is here. |
- m_workerGlobalScope.thread()->didStopRunLoop(); |
+ m_workerGlobalScope.script()->didStopRunLoop(); |
if (isContextInitialized()) |
m_scriptState->disposePerContextData(); |
@@ -166,7 +166,7 @@ bool WorkerScriptController::initializeContextIfNeeded() |
v8::Isolate* WorkerScriptController::isolate() const |
{ |
- return m_workerGlobalScope.thread()->isolate(); |
+ return m_workerGlobalScope.script()->isolate(); |
} |
ScriptValue WorkerScriptController::evaluate(const String& script, const String& fileName, const TextPosition& scriptStartPosition, CachedMetadataHandler* cacheHandler, V8CacheOptions v8CacheOptions) |