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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.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 | « chrome/browser/chrome_browser_main_win.h ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index e0e0f37157dbcb52efe0c94c305bcd15ff673084..4acf2f2d325a48d5b7c931bbb5d7af101e1a74bd 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -130,7 +130,7 @@ views::TextButton* InfoBarView::CreateTextButton(
if (needs_elevation &&
(base::win::GetVersion() >= base::win::VERSION_VISTA) &&
base::win::UserAccountControlIsEnabled()) {
- SHSTOCKICONINFO icon_info = { sizeof SHSTOCKICONINFO };
+ SHSTOCKICONINFO icon_info = { sizeof(SHSTOCKICONINFO) };
// Even with the runtime guard above, we have to use GetProcAddress() here,
// because otherwise the loader will try to resolve the function address on
// startup, which will break on XP.
« no previous file with comments | « chrome/browser/chrome_browser_main_win.h ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698