Remove parameter |by_user| in NotificationClosed
This commit is contained in:
parent
0cbf8b6cd2
commit
37bd7fe331
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue