Chromium Code Reviews| 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 ced4c101dde6747556591274bb2e8eb0c8d8670d..631d2651dd349db59d93f9a1ae0927bfb6d691a7 100644 |
| --- a/ui/arc/notification/arc_notification_manager.cc |
| +++ b/ui/arc/notification/arc_notification_manager.cc |
| @@ -5,6 +5,7 @@ |
| #include "ui/arc/notification/arc_notification_manager.h" |
| #include "ash/common/system/toast/toast_manager.h" |
| +#include "ash/common/wm_shell.h" |
| #include "ash/shell.h" |
|
James Cook
2016/07/20 20:31:40
not needed?
sky
2016/07/20 20:38:39
Done.
|
| #include "base/memory/ptr_util.h" |
| #include "base/stl_util.h" |
| @@ -192,12 +193,12 @@ void ArcNotificationManager::SendNotificationButtonClickedOnChrome( |
| } |
| void ArcNotificationManager::OnToastPosted(mojom::ArcToastDataPtr data) { |
| - ash::Shell::GetInstance()->toast_manager()->Show( |
| + ash::WmShell::Get()->toast_manager()->Show( |
| ash::ToastData(data->id, data->text, data->duration, data->dismiss_text)); |
| } |
| void ArcNotificationManager::OnToastCancelled(mojom::ArcToastDataPtr data) { |
| - ash::Shell::GetInstance()->toast_manager()->Cancel(data->id); |
| + ash::WmShell::Get()->toast_manager()->Cancel(data->id); |
| } |
| } // namespace arc |