Index: ash/drag_drop/drag_drop_controller.cc |
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc |
index 70bbd05ab0dca92c28ae721057fe4a42e54e3b15..cf69a9c63b1c89ea9bd221ef5c803b7205b48918 100644 |
--- a/ash/drag_drop/drag_drop_controller.cc |
+++ b/ash/drag_drop/drag_drop_controller.cc |
@@ -52,7 +52,7 @@ gfx::Rect AdjustDragImageBoundsForScaleAndOffset( |
float scale, |
gfx::Vector2d* drag_image_offset) { |
gfx::PointF final_origin = drag_image_bounds.origin(); |
- gfx::SizeF final_size = drag_image_bounds.size(); |
+ gfx::SizeF final_size = gfx::SizeF(drag_image_bounds.size()); |
final_size.Scale(scale); |
drag_image_offset->set_x(drag_image_offset->x() * scale); |
drag_image_offset->set_y(drag_image_offset->y() * scale); |