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

Unified Diff: ui/gfx/win/display_info.cc

Issue 1677073003: Fix Wreorder warning after https://codereview.chromium.org/1639623003/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/display_info.cc
diff --git a/ui/gfx/win/display_info.cc b/ui/gfx/win/display_info.cc
index 4d65d912a58b1ea42be9461a99e0d648fac61f53..1a99ed60cadf16c4ccfc1c2f3a74e9a1a0b399fa 100644
--- a/ui/gfx/win/display_info.cc
+++ b/ui/gfx/win/display_info.cc
@@ -46,9 +46,9 @@ DisplayInfo::DisplayInfo(const MONITORINFOEX& monitor_info,
float device_scale_factor,
gfx::Display::Rotation rotation)
: id_(DeviceIdFromDeviceName(monitor_info.szDevice)),
+ rotation_(rotation),
screen_rect_(monitor_info.rcMonitor),
screen_work_rect_(monitor_info.rcWork),
- rotation_(rotation),
device_scale_factor_(device_scale_factor) {}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698