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

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

Issue 9426006: Merge 121180 - views / Windows: A child window should be centered with respect to its parent, not t… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 10 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 | « ui/base/win/hwnd_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_win.cc
===================================================================
--- ui/views/widget/native_widget_win.cc (revision 122554)
+++ ui/views/widget/native_widget_win.cc (working copy)
@@ -671,7 +671,7 @@
HWND parent = GetParent();
if (!IsWindow())
parent = ::GetWindow(GetNativeView(), GW_OWNER);
- ui::CenterAndSizeWindow(parent, GetNativeView(), size, false);
+ ui::CenterAndSizeWindow(parent, GetNativeView(), size);
}
void NativeWidgetWin::GetWindowPlacement(
« no previous file with comments | « ui/base/win/hwnd_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698