Index: Source/bindings/core/v8/WorkerScriptController.cpp |
diff --git a/Source/bindings/core/v8/WorkerScriptController.cpp b/Source/bindings/core/v8/WorkerScriptController.cpp |
index c2aa7245c2c853ec8c2f6a8d0f177748a0a2da70..94f3870f63c5a18a2ffea0e2d68c1f0ee966a43c 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.cpp |
+++ b/Source/bindings/core/v8/WorkerScriptController.cpp |
@@ -53,7 +53,6 @@ |
#include "core/workers/WorkerThread.h" |
#include "platform/heap/ThreadState.h" |
#include "public/platform/Platform.h" |
-#include "public/platform/WebWorkerRunLoop.h" |
#include <v8.h> |
namespace blink { |
@@ -149,10 +148,10 @@ WorkerScriptController::~WorkerScriptController() |
m_world->dispose(); |
- // The corresponding call to didStartWorkerRunLoop is in |
- // WorkerThread::workerThread(). |
+ // The corresponding call to didStartWorkerThread is in |
+ // WorkerThread::initialize(). |
// See http://webkit.org/b/83104#c14 for why this is here. |
- blink::Platform::current()->didStopWorkerRunLoop(blink::WebWorkerRunLoop(&m_workerGlobalScope.thread()->runLoop())); |
+ blink::Platform::current()->didStopWorkerThread(m_workerGlobalScope.thread()->webThread()); |
if (isContextInitialized()) |
m_scriptState->disposePerContextData(); |