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

Unified Diff: ash/wm/stacking_controller.cc

Issue 2826453003: Makes functions in container_finder take aura::Window (Closed)
Patch Set: cleanup Created 3 years, 8 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/container_finder_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/stacking_controller.cc
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
index 6dfa6086064f451fe089374e35fa28811c53f027..27c8a5620d6f22904cf594554f2519ad6b6efef9 100644
--- a/ash/wm/stacking_controller.cc
+++ b/ash/wm/stacking_controller.cc
@@ -5,7 +5,7 @@
#include "ash/wm/stacking_controller.h"
#include "ash/wm/container_finder.h"
-#include "ash/wm_window.h"
+#include "ui/aura/window.h"
namespace ash {
@@ -21,8 +21,7 @@ StackingController::~StackingController() {}
aura::Window* StackingController::GetDefaultParent(aura::Window* window,
const gfx::Rect& bounds) {
- return WmWindow::GetAuraWindow(
- wm::GetDefaultParent(WmWindow::Get(window), bounds));
+ return wm::GetDefaultParent(window, bounds);
}
} // namespace ash
« no previous file with comments | « ash/wm/container_finder_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698