summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/frame/browser_frame_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/frame/browser_frame_aura.cc')
-rw-r--r--chrome/browser/ui/views/frame/browser_frame_aura.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
index 764e95b..1d3a7d8 100644
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
@@ -62,11 +62,7 @@ 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.
- // 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);
+ browser_frame_->non_client_view()->UpdateFrame(false);
}
}