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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
Patch Set: Created 5 years, 6 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/screen_win.cc ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_win.cc
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
index aee3c4625026f3fcc1a8743658f5a1ee378d3473..6c023882daf0c0eefe35edf4e38e7d6f6d904e79 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -295,8 +295,7 @@ void NativeThemeWin::Paint(SkCanvas* canvas,
}
NativeThemeWin::NativeThemeWin()
- : theme_dll_(LoadLibrary(L"uxtheme.dll")),
- draw_theme_(NULL),
+ : draw_theme_(NULL),
draw_theme_ex_(NULL),
get_theme_color_(NULL),
get_theme_content_rect_(NULL),
@@ -306,6 +305,7 @@ NativeThemeWin::NativeThemeWin()
set_theme_properties_(NULL),
is_theme_active_(NULL),
get_theme_int_(NULL),
+ theme_dll_(LoadLibrary(L"uxtheme.dll")),
color_change_listener_(this),
is_using_high_contrast_(false),
is_using_high_contrast_valid_(false) {
« no previous file with comments | « ui/gfx/screen_win.cc ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698