Index: ui/base/cursor/cursor_util.cc |
diff --git a/ui/base/cursor/cursor_util.cc b/ui/base/cursor/cursor_util.cc |
index 6eb893e3732b2487247b5c76b1805dfeda87e085..193ab7361909507b4569d624b88b5885d672c303 100644 |
--- a/ui/base/cursor/cursor_util.cc |
+++ b/ui/base/cursor/cursor_util.cc |
@@ -56,7 +56,7 @@ void ScaleAndRotateCursorBitmapAndHotpoint(float scale, |
skia::ImageOperations::RESIZE_BETTER, |
scaled_size.width(), |
scaled_size.height()); |
- *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); |
+ *hotpoint = gfx::ScaleToFlooredPoint(*hotpoint, scale); |
} |
void GetImageCursorBitmap(int resource_id, |