Index: content/browser/shared_worker/shared_worker_service_impl.cc |
diff --git a/content/browser/shared_worker/shared_worker_service_impl.cc b/content/browser/shared_worker/shared_worker_service_impl.cc |
index aa035f089f687ae1a5e4e67bfdbe42c025b392b6..79106a12165edeb71b6318b75c83e7fe5224b9a7 100644 |
--- a/content/browser/shared_worker/shared_worker_service_impl.cc |
+++ b/content/browser/shared_worker/shared_worker_service_impl.cc |
@@ -23,6 +23,7 @@ |
#include "content/common/worker_messages.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/worker_service_observer.h" |
+#include "third_party/WebKit/public/web/WebDataSaverFlag.h" |
namespace content { |
@@ -335,7 +336,8 @@ blink::WebWorkerCreationError SharedWorkerServiceImpl::CreateWorker( |
std::unique_ptr<SharedWorkerInstance> instance(new SharedWorkerInstance( |
params.url, params.name, params.content_security_policy, |
params.security_policy_type, params.creation_address_space, |
- resource_context, partition_id, params.creation_context_type)); |
+ resource_context, partition_id, params.creation_context_type, |
+ params.data_saver_flag)); |
std::unique_ptr<SharedWorkerPendingInstance::SharedWorkerPendingRequest> |
request(new SharedWorkerPendingInstance::SharedWorkerPendingRequest( |
filter, route_id, params.document_id, filter->render_process_id(), |