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

Unified Diff: ash/wm/window_positioner_unittest.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | chrome/browser/chromeos/arc/print/arc_print_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0945b0618dc093ce6531fcb6cec4a5d0758b92b5 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()->shell_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()->shell_delegate());
delegate->SetForceMaximizeOnFirstRun(true);
WindowPositioner::GetBoundsAndShowStateForNewWindow(
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | chrome/browser/chromeos/arc/print/arc_print_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698