| Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index 515700d8ff0847bba14f3a9c03b8db9876ae2f64..91c1f35dc372283ba2e9e00c762ff37719f78c61 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -431,8 +431,8 @@ void WebEmbeddedWorkerImpl::StartWorkerThread() {
|
| std::unique_ptr<WebWorkerFetchContext> web_worker_fetch_context =
|
| worker_context_client_->CreateServiceWorkerFetchContext();
|
| DCHECK(web_worker_fetch_context);
|
| - // TODO(horo): Set more information about the context (ex: DataSaverEnabled)
|
| - // to |web_worker_fetch_context|.
|
| + web_worker_fetch_context->SetDataSaverEnabled(
|
| + document->GetFrame()->GetSettings()->GetDataSaverEnabled());
|
| ProvideWorkerFetchContextToWorker(worker_clients,
|
| std::move(web_worker_fetch_context));
|
| }
|
|
|