| 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 47817c44d86bfcc3b8ba85f13b595addd375240a..d5612a240ec5141f00931b639de840f8afd3314c 100644
 | 
| --- a/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
 | 
| +++ b/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
 | 
| @@ -31,13 +31,17 @@
 | 
|  #include "web/DedicatedWorkerMessagingProxyProviderImpl.h"
 | 
|  
 | 
|  #include "core/dom/Document.h"
 | 
| +#include "core/loader/WorkerFetchContext.h"
 | 
|  #include "core/workers/DedicatedWorkerMessagingProxy.h"
 | 
|  #include "core/workers/Worker.h"
 | 
|  #include "core/workers/WorkerClients.h"
 | 
|  #include "core/workers/WorkerContentSettingsClient.h"
 | 
| +#include "platform/RuntimeEnabledFeatures.h"
 | 
|  #include "platform/wtf/PtrUtil.h"
 | 
| +#include "public/platform/Platform.h"
 | 
|  #include "public/platform/WebContentSettingsClient.h"
 | 
|  #include "public/platform/WebString.h"
 | 
| +#include "public/platform/WebWorkerFetchContext.h"
 | 
|  #include "public/web/WebFrameClient.h"
 | 
|  #include "public/web/WebWorkerContentSettingsClientProxy.h"
 | 
|  #include "web/IndexedDBClientImpl.h"
 | 
| @@ -67,6 +71,15 @@ DedicatedWorkerMessagingProxyProviderImpl::CreateWorkerMessagingProxy(
 | 
|          worker_clients,
 | 
|          WTF::WrapUnique(
 | 
|              web_frame->Client()->CreateWorkerContentSettingsClientProxy()));
 | 
| +    if (RuntimeEnabledFeatures::offMainThreadFetchEnabled()) {
 | 
| +      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:
 | 
| +      // DataSaverEnabled) to |web_worker_fetch_context|.
 | 
| +      ProvideWorkerFetchContextToWorker(worker_clients,
 | 
| +                                        std::move(web_worker_fetch_context));
 | 
| +    }
 | 
|      // FIXME: call provideServiceWorkerContainerClientToWorker here when we
 | 
|      // support ServiceWorker in dedicated workers (http://crbug.com/371690)
 | 
|      return new DedicatedWorkerMessagingProxy(worker, worker_clients);
 | 
| 
 |