| 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 643aee35e471174b0e98a922e765f74d187e3aa9..92127626afbadeec48dcd0d40a470426169e08f1 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().
|
| 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();
|
| }
|
|
|