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 4f4504bdc7e232ea91b33dd35350e4d85c1d5e38..d3e5f95b170f2825805e3ed934078f0464dc5bb0 100644 |
--- a/ash/shelf/shelf_layout_manager_unittest.cc |
+++ b/ash/shelf/shelf_layout_manager_unittest.cc |
@@ -1469,7 +1469,7 @@ TEST_F(ShelfLayoutManagerTest, PinnedWindowHidesShelf) { |
EXPECT_EQ(SHELF_VISIBLE, shelf->GetVisibilityState()); |
- wm::PinWindow(window1); |
+ wm::PinWindow(window1, /* trusted */ false); |
EXPECT_EQ(SHELF_HIDDEN, shelf->GetVisibilityState()); |
WmWindowAura::Get(window1)->GetWindowState()->Restore(); |