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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_win.cc

Issue 10790022: Merge 146921 - On Windows 8 when a metro app is snapped, all desktop applications receive a resize … (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_frame_win.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_frame_win.cc (revision 146921)
+++ chrome/browser/ui/views/frame/browser_frame_win.cc (working copy)
@@ -299,7 +299,7 @@
int minimize_button_offset =
GetMinimizeButtonOffsetForWindow(GetNativeView());
- if (minimize_button_offset)
+ if (minimize_button_offset > 0)
return minimize_button_offset;
// If we fail to get the minimize button offset via the WM_GETTITLEBARINFOEX
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698