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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.cc

Issue 1357423009: gfx: Make conversions from Size to SizeF be explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sizefconvert-gfx: . Created 5 years, 3 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/views/animation/test/ink_drop_animation_test_api.cc ('k') | ui/wm/core/image_grid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
index 4b4c315e329d4dc8f8012f9fd6994d996bc2b94b..827f294f4d0ee05190c400393f200e94726e5196 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
@@ -325,9 +325,8 @@ std::vector<gfx::Display> DesktopScreenX11::BuildDisplaysFromXRandRInfo() {
gfx::ToFlooredPoint(
gfx::ScalePoint(intersection_in_pixels.origin(),
1.0f / display.device_scale_factor())),
- gfx::ToFlooredSize(
- gfx::ScaleSize(intersection_in_pixels.size(),
- 1.0f / display.device_scale_factor()))));
+ gfx::ScaleToFlooredSize(intersection_in_pixels.size(),
+ 1.0f / display.device_scale_factor())));
}
switch (crtc->rotation) {
« no previous file with comments | « ui/views/animation/test/ink_drop_animation_test_api.cc ('k') | ui/wm/core/image_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698