Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
index 0ce13b40a53be645cf994a9a9977afbd7ce00963..6cf618e6745bd3b68a0b8f5919b6be5d6c6ee737 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
@@ -72,7 +72,7 @@ public: |
{ |
Microtask::performCheckpoint(m_workerThread->isolate()); |
if (WorkerGlobalScope* globalScope = m_workerThread->workerGlobalScope()) { |
- if (WorkerScriptController* scriptController = globalScope->script()) |
+ if (GlobalScopeScriptController* scriptController = globalScope->script()) |
scriptController->rejectedPromises()->processQueue(); |
if (globalScope->isClosing()) { |
m_workerThread->workerReportingProxy().workerGlobalScopeClosed(); |
@@ -296,13 +296,13 @@ void WorkerThread::initialize(PassOwnPtr<WorkerThreadStartupData> startupData) |
m_workerGlobalScope = createWorkerGlobalScope(startupData); |
m_workerGlobalScope->scriptLoaded(sourceCode.length(), cachedMetaData.get() ? cachedMetaData->size() : 0); |
- // The corresponding call to didStopRunLoop() is in ~WorkerScriptController(). |
+ // The corresponding call to didStopRunLoop() is in GlobalScopeScriptController::dispose(). |
didStartRunLoop(); |
// Notify proxy that a new WorkerGlobalScope has been created and started. |
m_workerReportingProxy.workerGlobalScopeStarted(m_workerGlobalScope.get()); |
- WorkerScriptController* script = m_workerGlobalScope->script(); |
+ GlobalScopeScriptController* script = m_workerGlobalScope->script(); |
if (!script->isExecutionForbidden()) |
script->initializeContextIfNeeded(); |
} |