Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2198)

Unified Diff: ash/wm/overview/scoped_transform_overview_window.cc

Issue 2908793002: [mus+ash] Removes WmWindow from ash/wm/overview and ash/wm/workspace (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/overview/cleanup_animation_observer_unittest.cc ('k') | ash/wm/overview/window_grid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/wm/overview/cleanup_animation_observer_unittest.cc ('k') | ash/wm/overview/window_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698