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 9b3cd56918423596ee321337f14294bf640f53f2..b0554c003d7e5ba68c7268d50585f736f342dca1 100644 |
--- a/content/child/service_worker/service_worker_message_filter.cc |
+++ b/content/child/service_worker/service_worker_message_filter.cc |
@@ -104,8 +104,8 @@ void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes( |
attrs.waiting.handle_id); |
SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), |
attrs.active.handle_id); |
- SendRegistrationObjectDestroyed(thread_safe_sender_.get(), |
- registration_handle_id); |
+ // Don't have to decrement registration refcount because the sender of the |
+ // SetVersionAttributes message doesn't increment it. |
} |
void ServiceWorkerMessageFilter::OnStaleSetControllerServiceWorker( |