| 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 34588ba09a4f11a2c1eace8800719bd5739e6dbc..15ac1d6ed4e702d12e93b7636dfd55dd97a65b4f 100644
|
| --- a/content/child/service_worker/service_worker_message_filter.cc
|
| +++ b/content/child/service_worker/service_worker_message_filter.cc
|
| @@ -82,7 +82,7 @@ void ServiceWorkerMessageFilter::OnStaleRegistered(
|
| int thread_id,
|
| int request_id,
|
| const ServiceWorkerRegistrationObjectInfo& info) {
|
| - SendRegistrationObjectDestroyed(thread_safe_sender_, info.handle_id);
|
| + SendRegistrationObjectDestroyed(thread_safe_sender_.get(), info.handle_id);
|
| }
|
|
|
| void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes(
|
| @@ -91,20 +91,21 @@ void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes(
|
| int registration_handle_id,
|
| int changed_mask,
|
| const ServiceWorkerVersionAttributes& attributes) {
|
| - SendServiceWorkerObjectDestroyed(thread_safe_sender_,
|
| + SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(),
|
| attributes.installing.handle_id);
|
| - SendServiceWorkerObjectDestroyed(thread_safe_sender_,
|
| + SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(),
|
| attributes.waiting.handle_id);
|
| - SendServiceWorkerObjectDestroyed(thread_safe_sender_,
|
| + SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(),
|
| attributes.active.handle_id);
|
| - SendRegistrationObjectDestroyed(thread_safe_sender_, registration_handle_id);
|
| + SendRegistrationObjectDestroyed(thread_safe_sender_.get(),
|
| + registration_handle_id);
|
| }
|
|
|
| void ServiceWorkerMessageFilter::OnStaleSetControllerServiceWorker(
|
| int thread_id,
|
| int provider_id,
|
| const ServiceWorkerObjectInfo& info) {
|
| - SendServiceWorkerObjectDestroyed(thread_safe_sender_, info.handle_id);
|
| + SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), info.handle_id);
|
| }
|
|
|
| } // namespace content
|
|
|