| Index: ash/common/wm/default_state.cc
|
| diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc
|
| index 07c03630d52667078fd6ffdd8c4fcaa047b96a4d..e7aa9e21265f821e039772f6541ea056e37a9cbb 100644
|
| --- a/ash/common/wm/default_state.cc
|
| +++ b/ash/common/wm/default_state.cc
|
| @@ -533,7 +533,8 @@ void DefaultState::SetBounds(WindowState* window_state,
|
| wm::AdjustBoundsSmallerThan(work_area_in_parent.size(), &child_bounds);
|
| window_state->AdjustSnappedBounds(&child_bounds);
|
| window_state->SetBoundsDirect(child_bounds);
|
| - } else if (!SetMaximizedOrFullscreenBounds(window_state)) {
|
| + } else if (!SetMaximizedOrFullscreenBounds(window_state) ||
|
| + window_state->allow_set_bounds_in_maximized()) {
|
| window_state->SetBoundsConstrained(event->requested_bounds());
|
| }
|
| }
|
|
|