| Index: ash/wm/panels/panel_layout_manager_unittest.cc
|
| diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc
|
| index 076d055fc60b28a05d80ebdfa50f4fab8a0945d2..986b065118cf2538e91adf07e3efde7aba78df53 100644
|
| --- a/ash/wm/panels/panel_layout_manager_unittest.cc
|
| +++ b/ash/wm/panels/panel_layout_manager_unittest.cc
|
| @@ -313,7 +313,8 @@ TEST_F(PanelLayoutManagerTest, UndockTest) {
|
| std::vector<display::ManagedDisplayInfo> info_list;
|
|
|
| const int64_t internal_display_id =
|
| - test::DisplayManagerTestApi().SetFirstDisplayAsInternalDisplay();
|
| + test::DisplayManagerTestApi(Shell::GetInstance()->display_manager())
|
| + .SetFirstDisplayAsInternalDisplay();
|
|
|
| // Create the primary display info.
|
| display::ManagedDisplayInfo internal_display =
|
| @@ -343,7 +344,8 @@ TEST_F(PanelLayoutManagerTest, DockUndockTest) {
|
| std::vector<display::ManagedDisplayInfo> info_list;
|
|
|
| const int64_t internal_display_id =
|
| - test::DisplayManagerTestApi().SetFirstDisplayAsInternalDisplay();
|
| + test::DisplayManagerTestApi(Shell::GetInstance()->display_manager())
|
| + .SetFirstDisplayAsInternalDisplay();
|
|
|
| // Create the primary display info.
|
| display::ManagedDisplayInfo internal_display =
|
|
|