| Index: third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp b/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
|
| index 798c9f1113c714277a7fb5d5b177de6c8e470325..29ac08f01c5c08ed449d06b2faf8ef840cb33ab5 100644
|
| --- a/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/workers/WorkerClients.h"
|
| #include "core/workers/WorkerContentSettingsClient.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "platform/loader/fetch/ResourceFetcher.h"
|
| #include "platform/wtf/PtrUtil.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebContentSettingsClient.h"
|
| @@ -75,8 +76,8 @@ DedicatedWorkerMessagingProxyProviderImpl::CreateWorkerMessagingProxy(
|
| std::unique_ptr<WebWorkerFetchContext> web_worker_fetch_context =
|
| web_frame->Client()->CreateWorkerFetchContext();
|
| DCHECK(web_worker_fetch_context);
|
| - // TODO(horo): Set more information about the context (ex:
|
| - // AppCacheHostID) to |web_worker_fetch_context|.
|
| + web_worker_fetch_context->SetAppCacheHostID(
|
| + document->Fetcher()->Context().ApplicationCacheHostID());
|
| web_worker_fetch_context->SetDataSaverEnabled(
|
| document->GetFrame()->GetSettings()->GetDataSaverEnabled());
|
| ProvideWorkerFetchContextToWorker(worker_clients,
|
|
|