| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index c7bf80346170cd1a1d10f188a2f281390f867fb3..83c2d13371500a75c6d5ef7540b4f0f63903b226 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -745,7 +745,10 @@ void ShelfLayoutManager::UpdateBoundsAndOpacity(
|
| shelf_widget_->status_area_widget()->GetNativeView()->parent(),
|
| status_bounds));
|
| }
|
| - if (!state_.is_screen_locked) {
|
| + // For crbug.com/622431, when the shelf alignment is BOTTOM_LOCKED, we
|
| + // don't set display work area, as it is not real user-set alignment.
|
| + if (!state_.is_screen_locked &&
|
| + shelf_widget_->GetAlignment() != SHELF_ALIGNMENT_BOTTOM_LOCKED) {
|
| gfx::Insets insets;
|
| // If user session is blocked (login to new user session or add user to
|
| // the existing session - multi-profile) then give 100% of work area only
|
|
|