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

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

Issue 10783027: On Windows 8 when a metro app is snapped, all desktop applications receive a resize notification as… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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 146857)
+++ chrome/browser/ui/views/frame/browser_frame_win.cc (working copy)
@@ -318,7 +318,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