| Index: third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp
|
| index 01e0c4173eede66fef0d4a0551f3cc8df3d67a5c..f28f1fe5f4f3e7028dd8e87f789508e6b6a21e0f 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "core/workers/WorkerLoaderProxy.h"
|
|
|
| -#include "core/dom/ExecutionContext.h"
|
| +#include "core/loader/LoadingContext.h"
|
|
|
| namespace blink {
|
|
|
| @@ -44,13 +44,13 @@ void WorkerLoaderProxy::postTaskToWorkerGlobalScope(
|
| m_loaderProxyProvider->postTaskToWorkerGlobalScope(location, std::move(task));
|
| }
|
|
|
| -ExecutionContext* WorkerLoaderProxy::getLoaderExecutionContext() {
|
| +LoadingContext* WorkerLoaderProxy::getLoadingContext() {
|
| DCHECK(isMainThread());
|
| // Note: No locking needed for the access from the main thread.
|
| if (!m_loaderProxyProvider)
|
| return nullptr;
|
| - DCHECK(m_loaderProxyProvider->getLoaderExecutionContext()->isContextThread());
|
| - return m_loaderProxyProvider->getLoaderExecutionContext();
|
| + DCHECK(m_loaderProxyProvider->getLoadingContext()->isContextThread());
|
| + return m_loaderProxyProvider->getLoadingContext();
|
| }
|
|
|
| } // namespace blink
|
|
|