diff --git a/brightray/browser/linux/notification_presenter_linux.cc b/brightray/browser/linux/notification_presenter_linux.cc index 3ff75c51155a..9baa4474e980 100644 --- a/brightray/browser/linux/notification_presenter_linux.cc +++ b/brightray/browser/linux/notification_presenter_linux.cc @@ -140,7 +140,7 @@ void NotificationPresenterLinux::CancelNotification(NotifyNotification* notifica if (error) log_and_clear_error(error, "notify_notification_close"); - GetDelegateFromNotification(notification)->NotificationClosed(false); + GetDelegateFromNotification(notification)->NotificationClosed(); DeleteNotification(notification); } @@ -150,7 +150,7 @@ void NotificationPresenterLinux::DeleteNotification(NotifyNotification* notifica } void NotificationPresenterLinux::OnNotificationClosed(NotifyNotification* notification) { - GetDelegateFromNotification(notification)->NotificationClosed(false); + GetDelegateFromNotification(notification)->NotificationClosed(); DeleteNotification(notification); } diff --git a/brightray/browser/notification_presenter_mac.mm b/brightray/browser/notification_presenter_mac.mm index cbe25c65a469..3b0c736daa3c 100644 --- a/brightray/browser/notification_presenter_mac.mm +++ b/brightray/browser/notification_presenter_mac.mm @@ -85,7 +85,7 @@ void NotificationPresenterMac::CancelNotification(content::DesktopNotificationDe for (NSUserNotification* deliveredNotification in center.deliveredNotifications) if ([notification isEqual:deliveredNotification]) { [center removeDeliveredNotification:deliveredNotification]; - delegate->NotificationClosed(false); + delegate->NotificationClosed(); break; }