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

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

Issue 2181553003: Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ServiceWorkerContextCore::DidFindRegistrationForCheckHasServiceWorker() Created 4 years, 5 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/foreign_fetch_request_handler.h
diff --git a/content/browser/service_worker/foreign_fetch_request_handler.h b/content/browser/service_worker/foreign_fetch_request_handler.h
index c9c302676dab8215adcc44fb8bf0f1b12f4e2321..47d0fdefc888b5b351ba56c3586e4118fd8880e1 100644
--- a/content/browser/service_worker/foreign_fetch_request_handler.h
+++ b/content/browser/service_worker/foreign_fetch_request_handler.h
@@ -96,7 +96,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
void DidFindRegistration(
const base::WeakPtr<ServiceWorkerURLRequestJob>& job,
ServiceWorkerStatusCode status,
- const scoped_refptr<ServiceWorkerRegistration>& registration);
+ scoped_refptr<ServiceWorkerRegistration> registration);
// ServiceWorkerURLRequestJob::Delegate implementation:
void OnPrepareToRestart() override;

Powered by Google App Engine
This is Rietveld 408576698