Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1715)

Unified Diff: content/child/service_worker/service_worker_message_filter.cc

Issue 261533003: Populate .current when navigator.serviceWorker is accessed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8ba89df39ad33cf00f948033ab21a4985ec05bea..ad3f4fb18c4e6003451d6da005657c9270f7636e 100644
--- a/content/child/service_worker/service_worker_message_filter.cc
+++ b/content/child/service_worker/service_worker_message_filter.cc
@@ -23,7 +23,7 @@ void SendServiceWorkerObjectDestroyed(
if (handle_id == kInvalidServiceWorkerHandleId)
return;
sender->Send(
- new ServiceWorkerHostMsg_ServiceWorkerObjectDestroyed(handle_id));
+ new ServiceWorkerHostMsg_DecrementServiceWorkerRefCount(handle_id));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698