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 0f1374ec8a0e84cf5288b0516f71fa1de29d474a..e1d56a8e275c8330c45c0f6e1ca730f7efab1aff 100644 |
--- a/ash/shelf/shelf_layout_manager_unittest.cc |
+++ b/ash/shelf/shelf_layout_manager_unittest.cc |
@@ -1461,7 +1461,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(); |