Index: ash/test/ash_test_impl_aura.cc |
diff --git a/ash/test/ash_test_impl_aura.cc b/ash/test/ash_test_impl_aura.cc |
index cf32bc448a44aced969712b2d212f14cd3bffe4c..c80612da71f3e2ea43db93ccaff37b14cb5859a6 100644 |
--- a/ash/test/ash_test_impl_aura.cc |
+++ b/ash/test/ash_test_impl_aura.cc |
@@ -67,14 +67,15 @@ std::unique_ptr<WindowOwner> AshTestImplAura::CreateTestWindow( |
} |
display::Display AshTestImplAura::GetSecondaryDisplay() { |
- return ScreenUtil::GetSecondaryDisplay(); |
+ return Shell::GetInstance()->display_manager()->GetSecondaryDisplay(); |
} |
bool AshTestImplAura::SetSecondaryDisplayPlacement( |
display::DisplayPlacement::Position position, |
int offset) { |
Shell::GetInstance()->display_manager()->SetLayoutForCurrentDisplays( |
- test::CreateDisplayLayout(position, 0)); |
+ test::CreateDisplayLayout(Shell::GetInstance()->display_manager(), |
+ position, 0)); |
return true; |
} |