Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index f7b29fdf6a7fbacf4204702e1e60c1201617b6e9..f36aa0101cebfc17d925b5d7a2c1fd764f98e6c1 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -345,7 +345,7 @@ XcursorImage* SkBitmapToXcursorImage(const SkBitmap* cursor_image, |
skia::ImageOperations::RESIZE_BETTER, |
static_cast<int>(cursor_image->width() * scale), |
static_cast<int>(cursor_image->height() * scale)); |
- hotspot_point = gfx::ToFlooredPoint(gfx::ScalePoint(hotspot, scale)); |
+ hotspot_point = gfx::ScaleToFlooredPoint(hotspot, scale); |
needs_scale = true; |
} |