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

Unified Diff: ash/wm/window_cycle_controller_unittest.cc

Issue 2893643003: [mus+ash] Removes WmWindow from ash/wm/window_cycle_* (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/window_cycle_* 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
Index: ash/wm/window_cycle_controller_unittest.cc
diff --git a/ash/wm/window_cycle_controller_unittest.cc b/ash/wm/window_cycle_controller_unittest.cc
index d195954014c8b88e09a210ea8228fff87a1769a7..696a434f78b46d9e12ad1c298c6f46008dc56adf 100644
--- a/ash/wm/window_cycle_controller_unittest.cc
+++ b/ash/wm/window_cycle_controller_unittest.cc
@@ -73,7 +73,7 @@ class EventCounter : public ui::EventHandler {
};
bool IsWindowMinimized(aura::Window* window) {
- return WmWindow::Get(window)->GetWindowState()->IsMinimized();
+ return ash::wm::GetWindowState(window)->IsMinimized();
James Cook 2017/05/17 23:18:26 nit: Is ash:: needed here?
varkha 2017/05/18 00:18:29 Done.
}
} // namespace
@@ -106,7 +106,7 @@ class WindowCycleControllerTest : public test::AshTestBase {
}
const aura::Window::Windows GetWindows(WindowCycleController* controller) {
- return WmWindow::ToAuraWindows(controller->window_cycle_list()->windows());
+ return controller->window_cycle_list()->windows();
}
const views::Widget* GetWindowCycleListWidget() const {

Powered by Google App Engine
This is Rietveld 408576698