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

Unified Diff: ash/display/display_manager.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 | « ash/desktop_background/desktop_background_view.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 045f3a9500aeec67bac889f70e188d1a1caf498e..e4643208c3ecf49d54c5c7c66a793e6a7acc9523 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -1299,8 +1299,8 @@ gfx::Display DisplayManager::CreateMirroringDisplayFromDisplayInfoById(
gfx::Display new_display(display_info.id());
new_display.SetScaleAndBounds(
- 1.0f, gfx::Rect(origin, gfx::ToFlooredSize(gfx::ScaleSize(
- display_info.size_in_pixel(), scale))));
+ 1.0f, gfx::Rect(origin, gfx::ScaleToFlooredSize(
+ display_info.size_in_pixel(), scale)));
new_display.set_touch_support(display_info.touch_support());
return new_display;
}
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698