Index: ash/drag_drop/drag_image_view.cc |
diff --git a/ash/drag_drop/drag_image_view.cc b/ash/drag_drop/drag_image_view.cc |
index 53f5094cdf4d794b789d88a5e7ec484870bc38e8..e180d9395163f47e9a5310e3347f0711aa1b5c55 100644 |
--- a/ash/drag_drop/drag_image_view.cc |
+++ b/ash/drag_drop/drag_image_view.cc |
@@ -117,8 +117,8 @@ void DragImageView::OnPaint(gfx::Canvas* canvas) { |
} |
// The drag image already has device scale factor applied. But |
// |widget_size_| is in DIP units. |
- gfx::Size scaled_widget_size = gfx::ToRoundedSize( |
- gfx::ScaleSize(widget_size_, device_scale)); |
+ gfx::Size scaled_widget_size = |
+ gfx::ScaleToRoundedSize(widget_size_, device_scale); |
gfx::ImageSkiaRep image_rep = GetImage().GetRepresentation(device_scale); |
if (image_rep.is_null()) |
return; |