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 d310f965d31aa2f3cbe2f4688ec3ed9d769393b7..edeb869d18a89e7683cbcf13689473d08c7f0b76 100644 |
--- a/ui/gfx/image/image_skia_operations.cc |
+++ b/ui/gfx/image/image_skia_operations.cc |
@@ -30,7 +30,7 @@ gfx::Size DIPToPixelSize(gfx::Size dip_size, float scale) { |
} |
gfx::Rect DIPToPixelBounds(gfx::Rect dip_bounds, float scale) { |
- return gfx::Rect(ToFlooredPoint(ScalePoint(dip_bounds.origin(), scale)), |
+ return gfx::Rect(ScaleToFlooredPoint(dip_bounds.origin(), scale), |
DIPToPixelSize(dip_bounds.size(), scale)); |
} |