| Index: ash/common/wm/immersive_context_ash.cc
|
| diff --git a/ash/common/wm/immersive_context_ash.cc b/ash/common/wm/immersive_context_ash.cc
|
| index ed9244f5635f02d6176d180323be513b3f2a38fd..8b8f9a09aa7076d19ef280b1fcd0382c9ba04d65 100644
|
| --- a/ash/common/wm/immersive_context_ash.cc
|
| +++ b/ash/common/wm/immersive_context_ash.cc
|
| @@ -32,10 +32,7 @@ void ImmersiveContextAsh::OnEnteringOrExitingImmersive(
|
| WmWindow* window = WmLookup::Get()->GetWindowForWidget(controller->widget());
|
| wm::WindowState* window_state = window->GetWindowState();
|
| // Auto hide the shelf in immersive fullscreen instead of hiding it.
|
| - window_state->set_shelf_mode_in_fullscreen(
|
| - entering ? ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE
|
| - : ash::wm::WindowState::SHELF_HIDDEN);
|
| -
|
| + window_state->set_hide_shelf_when_fullscreen(!entering);
|
| // Update the window's immersive mode state for the window manager.
|
| window_state->set_in_immersive_fullscreen(entering);
|
|
|
|
|