| Index: ui/views/button_drag_utils.cc
|
| diff --git a/ui/views/button_drag_utils.cc b/ui/views/button_drag_utils.cc
|
| index 4c4c414a9eb3003ec2fc70779aa9cd95343072d4..403ebb9b897228eb4e3c0aede20c8633d2f4c5fd 100644
|
| --- a/ui/views/button_drag_utils.cc
|
| +++ b/ui/views/button_drag_utils.cc
|
| @@ -10,7 +10,7 @@
|
| #include "ui/base/dragdrop/drag_utils.h"
|
| #include "ui/base/dragdrop/os_exchange_data.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/gfx/canvas_skia.h"
|
| +#include "ui/gfx/canvas.h"
|
| #include "ui/views/controls/button/text_button.h"
|
|
|
| namespace button_drag_utils {
|
| @@ -40,7 +40,7 @@ void SetURLAndDragImage(const GURL& url,
|
| button.SetBounds(0, 0, prefsize.width(), prefsize.height());
|
|
|
| // Render the image.
|
| - gfx::CanvasSkia canvas(prefsize, false);
|
| + gfx::Canvas canvas(prefsize, false);
|
| button.PaintButton(&canvas, views::TextButton::PB_FOR_DRAG);
|
| drag_utils::SetDragImageOnDataObject(canvas, prefsize,
|
| gfx::Point(prefsize.width() / 2, prefsize.height() / 2), data);
|
|
|