Index: ash/test/ash_test_base.cc |
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc |
index 323790cc5238cd7bf9c3ef1b23552076ce2ef093..5b92cd83336731decd2bfc8c39466acdd402798e 100644 |
--- a/ash/test/ash_test_base.cc |
+++ b/ash/test/ash_test_base.cc |
@@ -74,7 +74,7 @@ void AshTestBase::TearDown() { |
void AshTestBase::ChangeMonitorConfig(float scale, |
const gfx::Rect& bounds_in_pixel) { |
- gfx::Display display = gfx::Display(gfx::Screen::GetPrimaryMonitor().id()); |
+ gfx::Display display = gfx::Display(gfx::Screen::GetPrimaryDisplay().id()); |
display.SetScaleAndBounds(scale, bounds_in_pixel); |
std::vector<gfx::Display> displays; |
displays.push_back(display); |