| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 566db942d273abe3b4fd4804bdc7a19885bc24bc..c44e7c948c5566e666a6e7e8aaffb1341ce6cc97 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -542,7 +542,7 @@ bool ShelfLayoutManager::FullscreenWithHiddenShelf() const {
|
| RootWindowController* controller = GetRootWindowController(root_window_);
|
| if (!controller)
|
| return false;
|
| - const aura::Window* window = controller->GetTopmostFullscreenWindow();
|
| + const aura::Window* window = controller->GetWindowForFullscreenMode();
|
| if (!window)
|
| return false;
|
| return wm::GetWindowState(window)->hide_shelf_when_fullscreen();
|
|
|