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

Unified Diff: content/browser/notifications/

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/notifications/
diff --git a/content/browser/notifications/ b/content/browser/notifications/
index 032d50362f57014fb42049d7baf0f094b9e8b7d0..7c3c0586afd063390471a58b0b686c801f38caf6 100644
--- a/content/browser/notifications/
+++ b/content/browser/notifications/
@@ -94,8 +94,7 @@ void DispatchNotificationEventOnRegistration(
const NotificationOperationCallback& dispatch_event_action,
const NotificationDispatchCompleteCallback& dispatch_error_callback,
ServiceWorkerStatusCode service_worker_status,
- const scoped_refptr<ServiceWorkerRegistration>&
- service_worker_registration) {
+ scoped_refptr<ServiceWorkerRegistration> service_worker_registration) {
#if defined(OS_ANDROID)
// This LOG(INFO) deliberately exists to help track down the cause of
« no previous file with comments | « content/browser/loader/ ('k') | content/browser/notifications/notification_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698