Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/browser/service_worker/

Issue 2181553003: Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL:
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/
diff --git a/content/browser/service_worker/ b/content/browser/service_worker/
index 2aedf7480b51e313e66bde529773aaa96e6c05e1..6312b57b09bc3c6d5e4a54f71489cc3e338156e3 100644
--- a/content/browser/service_worker/
+++ b/content/browser/service_worker/
@@ -176,10 +176,10 @@ void ServiceWorkerControlleeRequestHandler::PrepareForMainResource(
- ServiceWorkerStatusCode status,
- const scoped_refptr<ServiceWorkerRegistration>& registration) {
+void ServiceWorkerControlleeRequestHandler::
+ DidLookupRegistrationForMainResource(
+ ServiceWorkerStatusCode status,
+ scoped_refptr<ServiceWorkerRegistration> registration) {
// The job may have been canceled and then destroyed before this was invoked.
if (!job_)

Powered by Google App Engine
This is Rietveld 408576698