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

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

Issue 486083002: ServiceWorker: Introduce ServiceWorkerRegistrationObjectInfo for cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 0033207df91df3ac6d47b15bdd14606464dd5454..34588ba09a4f11a2c1eace8800719bd5739e6dbc 100644
--- a/content/child/service_worker/service_worker_message_filter.cc
+++ b/content/child/service_worker/service_worker_message_filter.cc
@@ -81,10 +81,8 @@ void ServiceWorkerMessageFilter::OnStaleMessageReceived(
void ServiceWorkerMessageFilter::OnStaleRegistered(
int thread_id,
int request_id,
- int registration_handle_id,
- const ServiceWorkerObjectInfo& info) {
- SendServiceWorkerObjectDestroyed(thread_safe_sender_, info.handle_id);
- SendRegistrationObjectDestroyed(thread_safe_sender_, registration_handle_id);
+ const ServiceWorkerRegistrationObjectInfo& info) {
+ SendRegistrationObjectDestroyed(thread_safe_sender_, info.handle_id);
}
void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes(

Powered by Google App Engine
This is Rietveld 408576698