summaryrefslogtreecommitdiffstats
path: root/ui/native_theme/native_theme_win.cc
diff options
context:
space:
mode:
authorsammc <sammc@chromium.org>2015-07-01 18:25:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-02 01:25:35 +0000
commit5648c8598f20bc9756a82cf90cee204db44ea269 (patch)
treec64a9115d6d3dd5e79a6c92c4de1072ccd197316 /ui/native_theme/native_theme_win.cc
parent984fbc18b3c734abdef6a36f547f5eb99a2143d4 (diff)
downloadchromium_src-5648c8598f20bc9756a82cf90cee204db44ea269.zip
chromium_src-5648c8598f20bc9756a82cf90cee204db44ea269.tar.gz
chromium_src-5648c8598f20bc9756a82cf90cee204db44ea269.tar.bz2
clang/win: Fix warnings to prepare for building without -Wno-reorder.
This changes constructor initializer list ordering to match field declaration ordering, except for gtest and breakpad, where the warning is disabled. BUG=505304 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1210013007 Cr-Commit-Position: refs/heads/master@{#337152}
Diffstat (limited to 'ui/native_theme/native_theme_win.cc')
-rw-r--r--ui/native_theme/native_theme_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
index 1f1aeed..1c79304 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) {