Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 10910238: ash: Fix blank window when maximizing an app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_aura.cc ('k') | ui/views/window/non_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_win.cc
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
index 54f79a85efcdf2d0555c2b2f2c63105f7e22e937..c5f568e69bde1f61c5f80fe4baae7ae74d545760 100644
--- a/ui/views/widget/native_widget_win.cc
+++ b/ui/views/widget/native_widget_win.cc
@@ -747,7 +747,8 @@ void NativeWidgetWin::HandleClientSizeChanged(const gfx::Size& new_size) {
}
void NativeWidgetWin::HandleFrameChanged() {
- GetWidget()->non_client_view()->UpdateFrame();
+ // Replace the frame and layout the contents.
+ GetWidget()->non_client_view()->UpdateFrame(true);
}
void NativeWidgetWin::HandleNativeFocus(HWND last_focused_window) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_aura.cc ('k') | ui/views/window/non_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698