| Index: ui/arc/notification/arc_notification_manager.cc
|
| diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc
|
| index 915289c0999e0a4993785631ef78573aca810fec..91bcd496da42e16e8bfc782642997d04ab5b5d24 100644
|
| --- a/ui/arc/notification/arc_notification_manager.cc
|
| +++ b/ui/arc/notification/arc_notification_manager.cc
|
| @@ -179,11 +179,12 @@ void ArcNotificationManager::SendNotificationButtonClickedOnChrome(
|
| }
|
|
|
| void ArcNotificationManager::OnToastPosted(mojom::ArcToastDataPtr data) {
|
| - ash::Shell::GetInstance()->toast_manager()->Show(data->text, data->duration);
|
| + ash::Shell::GetInstance()->toast_manager()->Show(
|
| + ash::ToastData(data->id, data->text, data->duration));
|
| }
|
|
|
| void ArcNotificationManager::OnToastCancelled(mojom::ArcToastDataPtr data) {
|
| - // TODO(yoshiki): Implement cancel.
|
| + ash::Shell::GetInstance()->toast_manager()->Cancel(data->id);
|
| }
|
|
|
| } // namespace arc
|
|
|