| Index: third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp b/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp
|
| index e5f4ef6cd05ecb34006802cf3e09ae128ccd631e..1d68de4f452eab4759b0eb117d317b874fcc58fd 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp
|
| @@ -52,6 +52,7 @@ class DocumentThreadableLoadingContext final : public ThreadableLoadingContext {
|
| }
|
|
|
| RefPtr<WebTaskRunner> GetTaskRunner(TaskType type) override {
|
| + DCHECK(IsContextThread());
|
| return TaskRunnerHelper::Get(type, document_.Get());
|
| }
|
|
|
| @@ -112,6 +113,7 @@ class WorkerThreadableLoadingContext : public ThreadableLoadingContext {
|
| Document* GetLoadingDocument() override { return nullptr; }
|
|
|
| RefPtr<WebTaskRunner> GetTaskRunner(TaskType type) override {
|
| + DCHECK(IsContextThread());
|
| return fetch_context_->LoadingTaskRunner();
|
| }
|
|
|
|
|