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 ccdb8bcb8556500909858bef2a5b320d45af23c9..6621156864b4584ba04eab8e5a1e23473fc00b45 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -221,7 +221,7 @@ class PanelLayoutManagerTest : public test::AshTestBase { |
void SetShelfAutoHideBehavior(aura::Window* window, |
ShelfAutoHideBehavior behavior) { |
Shelf* shelf = Shelf::ForWindow(window); |
- shelf->shelf_layout_manager()->SetAutoHideBehavior(behavior); |
+ shelf->SetAutoHideBehavior(behavior); |
test::ShelfViewTestAPI test_api(GetShelfView(shelf)); |
test_api.RunMessageLoopUntilAnimationsDone(); |
} |