| Index: content/child/service_worker/service_worker_message_filter.cc
|
| diff --git a/content/child/service_worker/service_worker_message_filter.cc b/content/child/service_worker/service_worker_message_filter.cc
|
| index 47d7787be9e9bdb3777bffd0191a3d171a1352f5..814d0256379c08e20d1dd938cf7af97e82d3a383 100644
|
| --- a/content/child/service_worker/service_worker_message_filter.cc
|
| +++ b/content/child/service_worker/service_worker_message_filter.cc
|
| @@ -104,7 +104,8 @@ void ServiceWorkerMessageFilter::OnStaleGetRegistration(
|
| int thread_id,
|
| int request_id,
|
| const ServiceWorkerRegistrationObjectInfo& info,
|
| - const ServiceWorkerVersionAttributes& attrs) {
|
| + const ServiceWorkerVersionAttributes& attrs,
|
| + const mojo::MessagePipeHandle& url_loader_factory) {
|
| SendServiceWorkerObjectDestroyed(thread_safe_sender(),
|
| attrs.installing.handle_id);
|
| SendServiceWorkerObjectDestroyed(thread_safe_sender(),
|
| @@ -118,10 +119,13 @@ void ServiceWorkerMessageFilter::OnStaleGetRegistrations(
|
| int thread_id,
|
| int request_id,
|
| const std::vector<ServiceWorkerRegistrationObjectInfo>& infos,
|
| - const std::vector<ServiceWorkerVersionAttributes>& attrs) {
|
| + const std::vector<ServiceWorkerVersionAttributes>& attrs,
|
| + const std::vector<mojo::MessagePipeHandle>& url_loader_factories) {
|
| DCHECK_EQ(infos.size(), attrs.size());
|
| - for (size_t i = 0; i < infos.size(); ++i)
|
| - OnStaleGetRegistration(thread_id, request_id, infos[i], attrs[i]);
|
| + for (size_t i = 0; i < infos.size(); ++i) {
|
| + OnStaleGetRegistration(thread_id, request_id, infos[i], attrs[i],
|
| + url_loader_factories[i]);
|
| + }
|
| }
|
|
|
| void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes(
|
|
|