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

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

Issue 2183783002: Revert of Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index 0f4bf5eec8ef24844ba00e47f99fcce823cd7c99..9e1c587cb80bf01fab2df0f2c017974f655c8cf9 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -213,7 +213,7 @@
int provider_id,
int request_id,
ServiceWorkerStatusCode status,
- scoped_refptr<ServiceWorkerRegistration> registration);
+ const scoped_refptr<ServiceWorkerRegistration>& registration);
void GetRegistrationsComplete(
int thread_id,
int provider_id,

Powered by Google App Engine
This is Rietveld 408576698