| Index: ash/common/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/common/shelf/shelf_layout_manager.cc b/ash/common/shelf/shelf_layout_manager.cc
|
| index c2545f24d29e0bff6cc13b5caba58bfa36ea8b7d..d51f088a81f3621329c4073350bbdf8d23ee2802 100644
|
| --- a/ash/common/shelf/shelf_layout_manager.cc
|
| +++ b/ash/common/shelf/shelf_layout_manager.cc
|
| @@ -20,10 +20,10 @@
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm/wm_screen_util.h"
|
| #include "ash/common/wm_lookup.h"
|
| -#include "ash/common/wm_root_window_controller.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| +#include "ash/root_window_controller.h"
|
| #include "base/auto_reset.h"
|
| #include "base/command_line.h"
|
| #include "base/i18n/rtl.h"
|
| @@ -452,7 +452,7 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) {
|
| state.auto_hide_state = CalculateAutoHideState(visibility_state);
|
|
|
| WmWindow* shelf_window = WmLookup::Get()->GetWindowForWidget(shelf_widget_);
|
| - WmRootWindowController* controller = shelf_window->GetRootWindowController();
|
| + RootWindowController* controller = shelf_window->GetRootWindowController();
|
| state.window_state = controller ? controller->GetWorkspaceWindowState()
|
| : wm::WORKSPACE_WINDOW_STATE_DEFAULT;
|
| // Preserve the log in screen states.
|
|
|