Index: ui/views/button_drag_utils.cc |
diff --git a/ui/views/button_drag_utils.cc b/ui/views/button_drag_utils.cc |
index 8bdfe941bb739f41d37f41674e14cab609da12e2..c1b37b5dce7451de8dafac8d099a0706f15b1c39 100644 |
--- a/ui/views/button_drag_utils.cc |
+++ b/ui/views/button_drag_utils.cc |
@@ -47,7 +47,7 @@ void SetURLAndDragImage(const GURL& url, |
views::GetCanvasForDragImage(widget, prefsize)); |
button.PaintButton(canvas.get(), views::TextButton::PB_FOR_DRAG); |
drag_utils::SetDragImageOnDataObject(*canvas, prefsize, |
- gfx::Point(prefsize.width() / 2, prefsize.height() / 2), data); |
+ gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2), data); |
} |
} // namespace button_drag_utils |