| Index: content/common/service_worker/service_worker_provider_host_info.cc
|
| diff --git a/content/common/service_worker/service_worker_provider_host_info.cc b/content/common/service_worker/service_worker_provider_host_info.cc
|
| index d1cc98aeaadf34b029537b2ff56079e96c8cf749..23ac817c7c0aa2d445b99bd095cf6a9c354a4b90 100644
|
| --- a/content/common/service_worker/service_worker_provider_host_info.cc
|
| +++ b/content/common/service_worker/service_worker_provider_host_info.cc
|
| @@ -30,7 +30,24 @@ ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo(
|
| : provider_id(other.provider_id),
|
| route_id(other.route_id),
|
| type(other.type),
|
| - is_parent_frame_secure(other.is_parent_frame_secure) {
|
| + is_parent_frame_secure(other.is_parent_frame_secure),
|
| + host_request(std::move(other.host_request)),
|
| + client_ptr_info(std::move(other.client_ptr_info)) {
|
| + SetDefaultValues(&other);
|
| +}
|
| +
|
| +ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo(
|
| + ServiceWorkerProviderHostInfo&& other,
|
| + mojom::ServiceWorkerProviderHostAssociatedRequest host_request,
|
| + mojom::ServiceWorkerProviderAssociatedPtrInfo client_ptr_info)
|
| + : provider_id(other.provider_id),
|
| + route_id(other.route_id),
|
| + type(other.type),
|
| + is_parent_frame_secure(other.is_parent_frame_secure),
|
| + host_request(std::move(host_request)),
|
| + client_ptr_info(std::move(client_ptr_info)) {
|
| + DCHECK(!other.host_request.is_pending());
|
| + DCHECK(!other.client_ptr_info.is_valid());
|
| SetDefaultValues(&other);
|
| }
|
|
|
|
|