Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1051)

Unified Diff: ash/wm/panels/panel_layout_manager_unittest.cc

Issue 2017413002: ash: Fix variable names and setters in ShelfLayoutManager and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shellshelf
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 826d697387a114cd7a8a1ccdc5211e93a4407918..ca1204244e1702bf283d2b860b2b6dfdaf8195a9 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();
}

Powered by Google App Engine
This is Rietveld 408576698