| Index: chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| index 1d3a7d8ced00c23c5c94a384c9168bf63b2c46e9..764e95b5d6a15431b838c9ceef87a95023cc48b8 100644
|
| --- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| @@ -62,7 +62,11 @@ class BrowserFrameAura::WindowPropertyWatcher : public aura::WindowObserver {
|
| // window's bounds are updated. The window maximize/restore animations
|
| // clone the window's layers and rely on the subsequent layout to set
|
| // the layer sizes.
|
| - browser_frame_->non_client_view()->UpdateFrame(false);
|
| + // If the window is minimized, the frame view needs to be updated via
|
| + // an OnBoundsChanged event so that the frame will change its size
|
| + // properly.
|
| + browser_frame_->non_client_view()->UpdateFrame(
|
| + old_state == ui::SHOW_STATE_MINIMIZED);
|
| }
|
| }
|
|
|
|
|