win: Adapt to new Notification style

This commit is contained in:
Cheng Zhao 2015-12-25 11:05:48 +08:00
parent 5b7c7be804
commit b091f27abf
8 changed files with 72 additions and 71 deletions

View file

@ -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);
}
}