Index: ash/wm/overview/scoped_transform_overview_window.cc |
diff --git a/ash/wm/overview/scoped_transform_overview_window.cc b/ash/wm/overview/scoped_transform_overview_window.cc |
index 518646564804c1852bf9b02b5ab945c58caff86b..933c8b47cf5d89ab46ab3f58fb9366b14245de02 100644 |
--- a/ash/wm/overview/scoped_transform_overview_window.cc |
+++ b/ash/wm/overview/scoped_transform_overview_window.cc |
@@ -13,7 +13,6 @@ |
#include "ash/wm/window_mirror_view.h" |
#include "ash/wm/window_state.h" |
#include "ash/wm/window_util.h" |
-#include "ash/wm_window.h" |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
#include "base/single_thread_task_runner.h" |
@@ -434,9 +433,9 @@ void ScopedTransformOverviewWindow::PrepareForOverview() { |
} |
void ScopedTransformOverviewWindow::CloseWidget() { |
- WmWindow* parent_window = WmWindow::Get(GetTransientRoot(window_)); |
+ aura::Window* parent_window = GetTransientRoot(window_); |
if (parent_window) |
- parent_window->CloseWidget(); |
+ wm::CloseWidgetForWindow(parent_window); |
} |
// static |