| Index: ash/common/system/toast/toast_overlay.cc
|
| diff --git a/ash/common/system/toast/toast_overlay.cc b/ash/common/system/toast/toast_overlay.cc
|
| index 0f7fa55f91cfe09e0dfd3cc624fa96c2a662dbf6..4b14487c0884e328f98991a88cc16348ccd545d6 100644
|
| --- a/ash/common/system/toast/toast_overlay.cc
|
| +++ b/ash/common/system/toast/toast_overlay.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "ash/common/shelf/wm_shelf.h"
|
| #include "ash/common/strings/grit/ash_strings.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| @@ -238,7 +237,7 @@ ToastOverlay::ToastOverlay(Delegate* delegate,
|
| overlay_widget_->SetBounds(CalculateOverlayBounds());
|
|
|
| WmWindow* overlay_window =
|
| - WmLookup::Get()->GetWindowForWidget(overlay_widget_.get());
|
| + WmWindow::Get(overlay_widget_.get()->GetNativeWindow());
|
| overlay_window->SetVisibilityAnimationType(
|
| ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
|
| overlay_window->SetVisibilityAnimationDuration(
|
|
|