| 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 f7626e4b6d9a58892c9e33d445f4b9fccb0e21ad..8ecf549b50af7d01526bdfbd83324106c0437a75 100644
|
| --- a/ash/wm/panels/panel_layout_manager_unittest.cc
|
| +++ b/ash/wm/panels/panel_layout_manager_unittest.cc
|
| @@ -159,8 +159,7 @@ class PanelLayoutManagerTest : public test::AshTestBase {
|
| gfx::Rect window_bounds = panel->GetBoundsInScreen();
|
| ASSERT_LT(icon_bounds.width(), window_bounds.width());
|
| ASSERT_LT(icon_bounds.height(), window_bounds.height());
|
| - gfx::Rect shelf_bounds =
|
| - shelf->GetShelfWidgetForTesting()->GetWindowBoundsInScreen();
|
| + gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen();
|
| const ShelfAlignment alignment = shelf->alignment();
|
|
|
| if (IsHorizontal(alignment)) {
|
|
|