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 2ec784ab0e94755650bee385b11d656bb0766a25..93de572626769175f1a1a6469a1b6a1329743d2b 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
@@ -71,7 +71,7 @@ public: |
{ |
Microtask::performCheckpoint(m_workerThread->isolate()); |
if (WorkerGlobalScope* globalScope = m_workerThread->workerGlobalScope()) { |
- if (WorkerScriptController* scriptController = globalScope->script()) |
+ if (IsolatedScriptController* scriptController = globalScope->script()) |
scriptController->rejectedPromises()->processQueue(); |
if (globalScope->isClosing()) { |
m_workerThread->workerReportingProxy().workerGlobalScopeClosed(); |
@@ -300,7 +300,7 @@ void WorkerThread::initialize(PassOwnPtr<WorkerThreadStartupData> startupData) |
// Notify proxy that a new WorkerGlobalScope has been created and started. |
m_workerReportingProxy.workerGlobalScopeStarted(m_workerGlobalScope.get()); |
- WorkerScriptController* script = m_workerGlobalScope->script(); |
+ IsolatedScriptController* script = m_workerGlobalScope->script(); |
if (!script->isExecutionForbidden()) |
script->initializeContextIfNeeded(); |
} |