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

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

Issue 10332002: win: Fix a few minor issues found by clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/gfx/platform_font_win.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/monitor_win.cc
diff --git a/ui/views/widget/monitor_win.cc b/ui/views/widget/monitor_win.cc
index dea232ae138fbf156919e1a812419fbbd6b090cd..488a6dedd472086cbb45c2f63ea024f86f9a245f 100644
--- a/ui/views/widget/monitor_win.cc
+++ b/ui/views/widget/monitor_win.cc
@@ -25,7 +25,7 @@ gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect) {
}
HWND GetTopmostAutoHideTaskbarForEdge(UINT edge, HMONITOR monitor) {
- APPBARDATA taskbar_data = { sizeof APPBARDATA, NULL, 0, edge };
+ APPBARDATA taskbar_data = { sizeof(APPBARDATA), NULL, 0, edge };
HWND taskbar = reinterpret_cast<HWND>(SHAppBarMessage(ABM_GETAUTOHIDEBAR,
&taskbar_data));
return (::IsWindow(taskbar) && (monitor != NULL) &&
« no previous file with comments | « ui/gfx/platform_font_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698