Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3121)

Unified Diff: content/renderer/service_worker/embedded_worker_instance_client_impl.cc

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/service_worker/embedded_worker_instance_client_impl.cc
diff --git a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
index 424077104e1c97fff709306235cf1bd04356c2d5..0d0f8e2aaf58b21f6e7e8e53aa2691eff602ab9c 100644
--- a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
+++ b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
@@ -127,7 +127,7 @@ EmbeddedWorkerInstanceClientImpl::StartWorkerContext(
: blink::WebEmbeddedWorkerStartData::kDontWaitForDebugger;
start_data.v8_cache_options = static_cast<blink::WebSettings::V8CacheOptions>(
params.settings.v8_cache_options);
- start_data.data_saver_enabled = params.settings.data_saver_enabled;
+ start_data.data_saver_flag = params.settings.data_saver_flag;
start_data.pause_after_download_mode =
params.pause_after_download
? blink::WebEmbeddedWorkerStartData::kPauseAfterDownload

Powered by Google App Engine
This is Rietveld 408576698