Index: ui/base/cursor/cursor_util.cc |
diff --git a/ui/base/cursor/cursor_util.cc b/ui/base/cursor/cursor_util.cc |
index ff45bf05b1e75e2fd6fb417e1110ada9a7f689d6..6eb893e3732b2487247b5c76b1805dfeda87e085 100644 |
--- a/ui/base/cursor/cursor_util.cc |
+++ b/ui/base/cursor/cursor_util.cc |
@@ -48,8 +48,8 @@ void ScaleAndRotateCursorBitmapAndHotpoint(float scale, |
if (scale == 1.0f) |
return; |
- gfx::Size scaled_size = gfx::ToFlooredSize( |
- gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); |
+ gfx::Size scaled_size = gfx::ScaleToFlooredSize( |
+ gfx::Size(bitmap->width(), bitmap->height()), scale); |
*bitmap = skia::ImageOperations::Resize( |
*bitmap, |