| Index: third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
|
| index 11cedc543327d4ff784f6e7032b58911b7423233..85c905394a10fd36275a3ab08373b9ff105da573 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/loader/DocumentThreadableLoader.h"
|
| +#include "core/loader/LoadingContext.h"
|
| #include "core/loader/WorkerThreadableLoader.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
|
|
| @@ -50,8 +51,9 @@ ThreadableLoader* ThreadableLoader::create(
|
| options, resourceLoaderOptions);
|
| }
|
|
|
| - return DocumentThreadableLoader::create(toDocument(context), client, options,
|
| - resourceLoaderOptions);
|
| + return DocumentThreadableLoader::create(
|
| + *LoadingContext::create(*toDocument(&context)), client, options,
|
| + resourceLoaderOptions);
|
| }
|
|
|
| void ThreadableLoader::loadResourceSynchronously(
|
|
|