Index: chrome/browser/ui/ash/window_positioner_unittest.cc |
diff --git a/chrome/browser/ui/ash/window_positioner_unittest.cc b/chrome/browser/ui/ash/window_positioner_unittest.cc |
index b36dd53bd20603d3c4cbb54cbc197a21d3d9de74..8ef430da3918e787104d431e7866da39caca0c43 100644 |
--- a/chrome/browser/ui/ash/window_positioner_unittest.cc |
+++ b/chrome/browser/ui/ash/window_positioner_unittest.cc |
@@ -104,7 +104,7 @@ int AlignToGridRoundDown(int location, int grid_size) { |
TEST_F(WindowPositionerTest, cascading) { |
const gfx::Rect work_area = |
- Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(); |
// First see that the window will cascade down when there is no space. |
window()->SetBounds(work_area); |
@@ -165,7 +165,7 @@ TEST_F(WindowPositionerTest, cascading) { |
TEST_F(WindowPositionerTest, filling) { |
const gfx::Rect work_area = |
- Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(); |
gfx::Rect popup_position(0, 0, 256, 128); |
// Leave space on the left and the right and see if we fill top to bottom. |
window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(), |
@@ -220,7 +220,7 @@ TEST_F(WindowPositionerTest, filling) { |
TEST_F(WindowPositionerTest, biggerThenBorder) { |
const gfx::Rect work_area = |
- Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(); |
gfx::Rect pop_position(0, 0, work_area.width(), work_area.height()); |