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 d5d9a6ef10db9dbd9667157355c9603e731a0858..4c3b78c48b4cec51350dbf57ea6ca6d9223bcaa9 100644 |
--- a/ash/shelf/shelf_layout_manager_unittest.cc |
+++ b/ash/shelf/shelf_layout_manager_unittest.cc |
@@ -783,7 +783,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); |