| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index a5d6bc3e71164386691f891d82c285758bdd06f6..261b28f5d008919f4c732c09ff4ef3c859e76abd 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -530,9 +530,9 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) {
|
|
|
| // Do not animate the background when:
|
| // - Going from a hidden / auto hidden shelf in fullscreen to a visible shelf
|
| - // in maximized mode.
|
| - // - Going from an auto hidden shelf in maximized mode to a visible shelf in
|
| - // maximized mode.
|
| + // in tablet mode.
|
| + // - Going from an auto hidden shelf in tablet mode to a visible shelf in
|
| + // tablet mode.
|
| if (state.visibility_state == SHELF_VISIBLE &&
|
| state.window_state == wm::WORKSPACE_WINDOW_STATE_MAXIMIZED &&
|
| old_state.visibility_state != SHELF_VISIBLE) {
|
|
|