Index: ash/test/ash_test_base.cc |
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc |
index d03b281bfb19446218071638d3e4190ccea85c30..3dc61f245d9d04498d4991e0c595005becb473e5 100644 |
--- a/ash/test/ash_test_base.cc |
+++ b/ash/test/ash_test_base.cc |
@@ -80,7 +80,8 @@ void AshTestBase::TearDown() { |
void AshTestBase::ChangeDisplayConfig(float scale, |
const gfx::Rect& bounds_in_pixel) { |
- gfx::Display display = gfx::Display(gfx::Screen::GetPrimaryDisplay().id()); |
+ gfx::Display display = |
+ gfx::Display(Shell::GetScreen()->GetPrimaryDisplay().id()); |
display.SetScaleAndBounds(scale, bounds_in_pixel); |
std::vector<gfx::Display> displays; |
displays.push_back(display); |