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

Unified Diff: content/browser/service_worker/service_worker_register_job.h

Issue 513323002: Service worker fixups for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/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);

Powered by Google App Engine
This is Rietveld 408576698