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

Unified Diff: content/browser/notifications/notification_message_filter.cc

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/notifications/notification_message_filter.cc
diff --git a/content/browser/notifications/notification_message_filter.cc b/content/browser/notifications/notification_message_filter.cc
index 766bb4fe6059b285897822149762eea417b89a9f..e37d21b6fe1b61a6bc02acdb37b422dd95ca1181 100644
--- a/content/browser/notifications/notification_message_filter.cc
+++ b/content/browser/notifications/notification_message_filter.cc
@@ -222,7 +222,7 @@ void NotificationMessageFilter::DidFindServiceWorkerRegistration(
const NotificationResources& notification_resources,
int64_t persistent_notification_id,
content::ServiceWorkerStatusCode service_worker_status,
- const scoped_refptr<content::ServiceWorkerRegistration>& registration) {
+ scoped_refptr<content::ServiceWorkerRegistration> registration) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (service_worker_status != SERVICE_WORKER_OK) {
« no previous file with comments | « content/browser/notifications/notification_message_filter.h ('k') | content/browser/push_messaging/push_messaging_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698