| Index: ui/views/button_drag_utils.cc
|
| diff --git a/ui/views/button_drag_utils.cc b/ui/views/button_drag_utils.cc
|
| index 60bd6e5abca8dca888391ffd2c8efd382376f9c7..70ecf3a3891827438d742de031ca2c9762122d28 100644
|
| --- a/ui/views/button_drag_utils.cc
|
| +++ b/ui/views/button_drag_utils.cc
|
| @@ -81,7 +81,7 @@ void SetDragImage(const GURL& url,
|
| press_point = gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2);
|
|
|
| // Render the image.
|
| - scoped_ptr<gfx::Canvas> canvas(
|
| + std::unique_ptr<gfx::Canvas> canvas(
|
| views::GetCanvasForDragImage(widget, prefsize));
|
| button.Paint(ui::CanvasPainter(canvas.get(), 1.f).context());
|
| drag_utils::SetDragImageOnDataObject(*canvas, press_point, data);
|
|
|