DispatchNonPersistentCloseEvent takes a callback now

This commit is contained in:
Jeremy Apthorp 2018-09-14 17:21:59 -07:00 committed by Aleksei Kuzmin
parent 7a043a800d
commit 7e5d90f871

View file

@ -54,7 +54,7 @@ class NotificationDelegateImpl final : public brightray::NotificationDelegate {
void NotificationClosed() override { void NotificationClosed() override {
content::NotificationEventDispatcher::GetInstance() content::NotificationEventDispatcher::GetInstance()
->DispatchNonPersistentCloseEvent(notification_id_); ->DispatchNonPersistentCloseEvent(notification_id_, base::DoNothing());
} }
void NotificationDisplayed() override { void NotificationDisplayed() override {