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

Unified Diff: ui/gfx/image/image_skia_operations.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/gfx/image/image_skia.cc ('k') | ui/gfx/platform_font_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia_operations.cc
diff --git a/ui/gfx/image/image_skia_operations.cc b/ui/gfx/image/image_skia_operations.cc
index 2c44d1a6c5c4fcc7096a44d2dc969970d7ee2ff9..d310f965d31aa2f3cbe2f4688ec3ed9d769393b7 100644
--- a/ui/gfx/image/image_skia_operations.cc
+++ b/ui/gfx/image/image_skia_operations.cc
@@ -26,7 +26,7 @@ namespace gfx {
namespace {
gfx::Size DIPToPixelSize(gfx::Size dip_size, float scale) {
- return ToCeiledSize(ScaleSize(dip_size, scale));
+ return ScaleToCeiledSize(dip_size, scale);
}
gfx::Rect DIPToPixelBounds(gfx::Rect dip_bounds, float scale) {
« no previous file with comments | « ui/gfx/image/image_skia.cc ('k') | ui/gfx/platform_font_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698