| 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 25202a316f46bd8c07fa00c6c95451889f301a12..92a4c75ae32c3f900e096a6746fff05c385af228 100644
|
| --- a/ash/common/shelf/shelf_layout_manager.cc
|
| +++ b/ash/common/shelf/shelf_layout_manager.cc
|
| @@ -1019,7 +1019,7 @@ float ShelfLayoutManager::ComputeTargetOpacity(const State& state) {
|
| // In Chrome OS Material Design, when shelf is hidden during auto hide state,
|
| // target bounds are also hidden. So the window can extend to the edge of
|
| // screen.
|
| - if (ash::MaterialDesignController::IsShelfMaterial() ||
|
| + if (ash::MaterialDesignController::IsImmersiveModeMaterial() ||
|
| invisible_auto_hide_shelf_) {
|
| return (state.visibility_state == SHELF_AUTO_HIDE &&
|
| state.auto_hide_state == SHELF_AUTO_HIDE_SHOWN)
|
|
|