| Index: ash/common/wm/overview/scoped_transform_overview_window.cc
|
| diff --git a/ash/common/wm/overview/scoped_transform_overview_window.cc b/ash/common/wm/overview/scoped_transform_overview_window.cc
|
| index 393b02ac9b4b6a900f6ab929ca1bc7c5d8a8b441..f6172e773c6f6867db626482eede45d18671e3c3 100644
|
| --- a/ash/common/wm/overview/scoped_transform_overview_window.cc
|
| +++ b/ash/common/wm/overview/scoped_transform_overview_window.cc
|
| @@ -11,7 +11,6 @@
|
| #include "ash/common/wm/overview/scoped_overview_animation_settings_factory.h"
|
| #include "ash/common/wm/overview/window_selector_item.h"
|
| #include "ash/common/wm/window_state.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/common/wm_window_property.h"
|
| @@ -468,9 +467,8 @@ void ScopedTransformOverviewWindow::OnMouseEvent(ui::MouseEvent* event) {
|
|
|
| WmWindow* ScopedTransformOverviewWindow::GetOverviewWindowForMinimizedState()
|
| const {
|
| - return minimized_widget_
|
| - ? WmLookup::Get()->GetWindowForWidget(minimized_widget_.get())
|
| - : nullptr;
|
| + return minimized_widget_ ? WmWindow::Get(minimized_widget_->GetNativeWindow())
|
| + : nullptr;
|
| }
|
|
|
| void ScopedTransformOverviewWindow::CreateMirrorWindowForMinimizedState() {
|
|
|