mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
DispatchNonPersistentCloseEvent takes a callback now
This commit is contained in:
committed by
Aleksei Kuzmin
parent
7a043a800d
commit
7e5d90f871
@@ -54,7 +54,7 @@ class NotificationDelegateImpl final : public brightray::NotificationDelegate {
|
||||
|
||||
void NotificationClosed() override {
|
||||
content::NotificationEventDispatcher::GetInstance()
|
||||
->DispatchNonPersistentCloseEvent(notification_id_);
|
||||
->DispatchNonPersistentCloseEvent(notification_id_, base::DoNothing());
|
||||
}
|
||||
|
||||
void NotificationDisplayed() override {
|
||||
|
||||
Reference in New Issue
Block a user