| Index: content/browser/service_worker/service_worker_version.cc
|
| diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc
|
| index ed7ae82ea0a1579398af3bf3e96a88cdf88807ee..c9f14e5bbe052ee152eb13e47d1bef2323680fe7 100644
|
| --- a/content/browser/service_worker/service_worker_version.cc
|
| +++ b/content/browser/service_worker/service_worker_version.cc
|
| @@ -1284,7 +1284,7 @@ void ServiceWorkerVersion::DidEnsureLiveRegistrationForStartWorker(
|
| bool is_browser_startup_complete,
|
| const StatusCallback& callback,
|
| ServiceWorkerStatusCode status,
|
| - const scoped_refptr<ServiceWorkerRegistration>& registration) {
|
| + scoped_refptr<ServiceWorkerRegistration> registration) {
|
| scoped_refptr<ServiceWorkerRegistration> protect = registration;
|
| if (status == SERVICE_WORKER_ERROR_NOT_FOUND) {
|
| // When the registration has already been deleted from the storage but its
|
| @@ -1654,7 +1654,7 @@ void ServiceWorkerVersion::MarkIfStale() {
|
|
|
| void ServiceWorkerVersion::FoundRegistrationForUpdate(
|
| ServiceWorkerStatusCode status,
|
| - const scoped_refptr<ServiceWorkerRegistration>& registration) {
|
| + scoped_refptr<ServiceWorkerRegistration> registration) {
|
| if (!context_)
|
| return;
|
|
|
|
|