Index: content/browser/service_worker/service_worker_register_job.h |
diff --git a/content/browser/service_worker/service_worker_register_job.h b/content/browser/service_worker/service_worker_register_job.h |
index fcfa47ea1f339a5ec54adfb420b7b77d7120c644..7153fa1547be448259dba5dc8f146783d9d5b07b 100644 |
--- a/content/browser/service_worker/service_worker_register_job.h |
+++ b/content/browser/service_worker/service_worker_register_job.h |
@@ -99,11 +99,13 @@ class ServiceWorkerRegisterJob : public ServiceWorkerRegisterJobBase, |
scoped_refptr<ServiceWorkerRegistration> uninstalling_registration; |
}; |
- void set_registration(ServiceWorkerRegistration* registration); |
+ void set_registration( |
+ const scoped_refptr<ServiceWorkerRegistration>& registration); |
ServiceWorkerRegistration* registration(); |
void set_new_version(ServiceWorkerVersion* version); |
ServiceWorkerVersion* new_version(); |
- void set_uninstalling_registration(ServiceWorkerRegistration* registration); |
+ void set_uninstalling_registration( |
+ const scoped_refptr<ServiceWorkerRegistration>& registration); |
ServiceWorkerRegistration* uninstalling_registration(); |
void SetPhase(Phase phase); |