win: Adapt to new Notification style
This commit is contained in:
parent
5b7c7be804
commit
b091f27abf
8 changed files with 72 additions and 71 deletions
|
@ -57,7 +57,7 @@ void PlatformNotificationService::DisplayNotification(
|
|||
auto notification = presenter->CreateNotification(adapter.get());
|
||||
if (notification) {
|
||||
ignore_result(adapter.release()); // it will release itself automatically.
|
||||
notification->Show(data.title, data.body, icon);
|
||||
notification->Show(data.title, data.body, data.icon, icon);
|
||||
*cancel_callback = base::Bind(&RemoveNotification, notification);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue