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

Unified Diff: ui/gfx/screen_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/base/ime/win/imm32_manager.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_win.cc
diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc
index f19117b80f8ffa9c2105880f5b21a1a2b2da3879..f01d40aa833d8a48a92e56ebe3311a8b784b3c40 100644
--- a/ui/gfx/screen_win.cc
+++ b/ui/gfx/screen_win.cc
@@ -87,9 +87,10 @@ std::vector<gfx::Display> GetDisplays() {
namespace gfx {
ScreenWin::ScreenWin()
- : displays_(GetDisplays()),
- singleton_hwnd_observer_(new SingletonHwndObserver(
- base::Bind(&ScreenWin::OnWndProc, base::Unretained(this)))) {}
+ : singleton_hwnd_observer_(new SingletonHwndObserver(
+ base::Bind(&ScreenWin::OnWndProc, base::Unretained(this)))),
+ displays_(GetDisplays()) {
+}
ScreenWin::~ScreenWin() {}
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698