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