| Index: ash/wm/workspace_controller_unittest.cc
|
| diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc
|
| index 32dbaf7a511e9fccedea21c4cfe0f65605025127..0a1ec3a2712b52e70ba18fc4fee0c110965b3507 100644
|
| --- a/ash/wm/workspace_controller_unittest.cc
|
| +++ b/ash/wm/workspace_controller_unittest.cc
|
| @@ -15,7 +15,6 @@
|
| #include "ash/common/wm/panels/panel_layout_manager.h"
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm/workspace/workspace_window_resizer.h"
|
| -#include "ash/root_window_controller.h"
|
| #include "ash/screen_util.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_md_test_base.h"
|
| @@ -142,12 +141,10 @@ class WorkspaceControllerTest : public test::AshMDTestBase {
|
| .bounds();
|
| }
|
|
|
| - ShelfWidget* shelf_widget() {
|
| - return Shell::GetPrimaryRootWindowController()->shelf_widget();
|
| - }
|
| + ShelfWidget* shelf_widget() { return GetPrimaryShelf()->shelf_widget(); }
|
|
|
| ShelfLayoutManager* shelf_layout_manager() {
|
| - return Shell::GetPrimaryRootWindowController()->GetShelfLayoutManager();
|
| + return GetPrimaryShelf()->shelf_layout_manager();
|
| }
|
|
|
| bool GetWindowOverlapsShelf() {
|
|
|