| 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..5220a036461be44c0a172ff3c0cd1931fe9bf41c 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/ThreadableLoadingContext.h"
|
|
|
| namespace blink {
|
|
|
| @@ -44,13 +44,14 @@ void WorkerLoaderProxy::postTaskToWorkerGlobalScope(
|
| m_loaderProxyProvider->postTaskToWorkerGlobalScope(location, std::move(task));
|
| }
|
|
|
| -ExecutionContext* WorkerLoaderProxy::getLoaderExecutionContext() {
|
| +ThreadableLoadingContext* WorkerLoaderProxy::getThreadableLoadingContext() {
|
| 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->getThreadableLoadingContext()->isContextThread());
|
| + return m_loaderProxyProvider->getThreadableLoadingContext();
|
| }
|
|
|
| } // namespace blink
|
|
|