| Index: third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h
|
| diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h b/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h
|
| index eee4ddbd070de7232357f6d57c9d31e5286ecf4f..748b36fc6e02e89893dc8f51ea21bb1196d029b2 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h
|
| @@ -19,6 +19,7 @@ class Document;
|
| class ResourceFetcher;
|
| class SecurityOrigin;
|
| class WebTaskRunner;
|
| +class WorkerGlobalScope;
|
|
|
| // An abstract interface for top-level loading context.
|
| // This should be accessed only from the thread where the loading
|
| @@ -29,6 +30,7 @@ class CORE_EXPORT ThreadableLoadingContext
|
|
|
| public:
|
| static ThreadableLoadingContext* create(Document&);
|
| + static ThreadableLoadingContext* create(WorkerGlobalScope&);
|
|
|
| ThreadableLoadingContext() = default;
|
| virtual ~ThreadableLoadingContext() = default;
|
|
|