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

Unified Diff: ash/wm/window_positioner_unittest.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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_positioner_unittest.cc
diff --git a/ash/wm/window_positioner_unittest.cc b/ash/wm/window_positioner_unittest.cc
index 2bda5d7999c056b0e2a8463ac097b88c16a9b79b..6567ed70eaba88f3f489d9a50f9dbce656e8d70e 100644
--- a/ash/wm/window_positioner_unittest.cc
+++ b/ash/wm/window_positioner_unittest.cc
@@ -147,7 +147,7 @@ TEST_F(WindowPositionerTest, FirstRunMaximizeWindowHighResloution) {
ui::WindowShowState show_state_out = ui::SHOW_STATE_DEFAULT;
test::TestShellDelegate* const delegate =
- static_cast<test::TestShellDelegate*>(WmShell::Get()->delegate());
+ static_cast<test::TestShellDelegate*>(Shell::Get()->delegate());
delegate->SetForceMaximizeOnFirstRun(true);
WindowPositioner::GetBoundsAndShowStateForNewWindow(
@@ -166,7 +166,7 @@ TEST_F(WindowPositionerTest, FirstRunMaximizeWindowLowResolution) {
ui::WindowShowState show_state_out = ui::SHOW_STATE_DEFAULT;
test::TestShellDelegate* const delegate =
- static_cast<test::TestShellDelegate*>(WmShell::Get()->delegate());
+ static_cast<test::TestShellDelegate*>(Shell::Get()->delegate());
delegate->SetForceMaximizeOnFirstRun(true);
WindowPositioner::GetBoundsAndShowStateForNewWindow(

Powered by Google App Engine
This is Rietveld 408576698