Index: ash/shelf/shelf_layout_manager_unittest.cc |
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc |
index 67a216180b95dcf573dc7b8e2b1ee037ba02b9fd..d603f1267b642b31012c946fec56d62c73e1b1bd 100644 |
--- a/ash/shelf/shelf_layout_manager_unittest.cc |
+++ b/ash/shelf/shelf_layout_manager_unittest.cc |
@@ -822,7 +822,8 @@ TEST_F(ShelfLayoutManagerTest, AutoHideShelfOnScreenBoundary) { |
UpdateDisplay("800x600,800x600"); |
Shell::GetInstance()->display_manager()->SetLayoutForCurrentDisplays( |
- test::CreateDisplayLayout(display::DisplayPlacement::RIGHT, 0)); |
+ test::CreateDisplayLayout(display_manager(), |
+ display::DisplayPlacement::RIGHT, 0)); |
// Put the primary monitor's shelf on the display boundary. |
WmShelf* shelf = GetPrimaryShelf(); |
shelf->SetAlignment(SHELF_ALIGNMENT_RIGHT); |