diff --git a/atom/browser/notifications/platform_notification_service.cc b/atom/browser/notifications/platform_notification_service.cc index 2dda121b1c41..410315591ccd 100644 --- a/atom/browser/notifications/platform_notification_service.cc +++ b/atom/browser/notifications/platform_notification_service.cc @@ -122,7 +122,7 @@ void PlatformNotificationService::CloseNotification( void PlatformNotificationService::GetDisplayedNotifications( content::BrowserContext* browser_context, - const DisplayedNotificationsCallback& callback) {} + DisplayedNotificationsCallback callback) {} int64_t PlatformNotificationService::ReadNextPersistentNotificationId( content::BrowserContext* browser_context) { diff --git a/atom/browser/notifications/platform_notification_service.h b/atom/browser/notifications/platform_notification_service.h index aa485c2ad783..758eaf2c7f6a 100644 --- a/atom/browser/notifications/platform_notification_service.h +++ b/atom/browser/notifications/platform_notification_service.h @@ -43,7 +43,7 @@ class PlatformNotificationService const std::string& notification_id) override; void GetDisplayedNotifications( content::BrowserContext* browser_context, - const DisplayedNotificationsCallback& callback) override; + DisplayedNotificationsCallback callback) override; int64_t ReadNextPersistentNotificationId( content::BrowserContext* browser_context) override; void RecordNotificationUkmEvent(