Index: content/browser/shared_worker/shared_worker_instance.cc |
diff --git a/content/browser/shared_worker/shared_worker_instance.cc b/content/browser/shared_worker/shared_worker_instance.cc |
index 83a631cd5da8343faf30303081f529361d9a33d4..f3f081e27f47e151f9623391167d8cc125cb831c 100644 |
--- a/content/browser/shared_worker/shared_worker_instance.cc |
+++ b/content/browser/shared_worker/shared_worker_instance.cc |
@@ -16,7 +16,8 @@ SharedWorkerInstance::SharedWorkerInstance( |
blink::WebAddressSpace creation_address_space, |
ResourceContext* resource_context, |
const WorkerStoragePartitionId& partition_id, |
- blink::WebSharedWorkerCreationContextType creation_context_type) |
+ blink::WebSharedWorkerCreationContextType creation_context_type, |
+ blink::WebDataSaverFlag data_saver_flag) |
: url_(url), |
name_(name), |
content_security_policy_(content_security_policy), |
@@ -24,7 +25,8 @@ SharedWorkerInstance::SharedWorkerInstance( |
creation_address_space_(creation_address_space), |
resource_context_(resource_context), |
partition_id_(partition_id), |
- creation_context_type_(creation_context_type) { |
+ creation_context_type_(creation_context_type), |
+ data_saver_flag_(data_saver_flag) { |
DCHECK(resource_context_); |
} |
@@ -36,7 +38,8 @@ SharedWorkerInstance::SharedWorkerInstance(const SharedWorkerInstance& other) |
creation_address_space_(other.creation_address_space_), |
resource_context_(other.resource_context_), |
partition_id_(other.partition_id_), |
- creation_context_type_(other.creation_context_type_) {} |
+ creation_context_type_(other.creation_context_type_), |
+ data_saver_flag_(other.data_saver_flag_) {} |
SharedWorkerInstance::~SharedWorkerInstance() {} |