| 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 72cdbe460e7453d2cda73db474f409bd95d499fd..7c52a3b5d11edf0c4c5a3cb838dace6c1bbfbb55 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -427,8 +427,8 @@ void WebEmbeddedWorkerImpl::StartWorkerThread() {
|
|
|
| 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));
|
| }
|
|
|