| Index: content/browser/web_contents/web_contents_drag_win.cc
|
| diff --git a/content/browser/web_contents/web_contents_drag_win.cc b/content/browser/web_contents/web_contents_drag_win.cc
|
| index a07c61f7d019fd573c7c40af4b2f15d935702b87..010cb5710d109a6c1a36e5624888cdce3f409a61 100644
|
| --- a/content/browser/web_contents/web_contents_drag_win.cc
|
| +++ b/content/browser/web_contents/web_contents_drag_win.cc
|
| @@ -28,6 +28,7 @@
|
| #include "ui/base/clipboard/clipboard_util_win.h"
|
| #include "ui/base/clipboard/custom_data_helper.h"
|
| #include "ui/base/dragdrop/drag_utils.h"
|
| +#include "ui/gfx/image/image_skia.h"
|
| #include "ui/gfx/size.h"
|
| #include "webkit/glue/webdropdata.h"
|
|
|
| @@ -297,8 +298,8 @@ void WebContentsDragWin::DoDragging(const WebDropData& drop_data,
|
|
|
| // Set drag image.
|
| if (!image.isNull()) {
|
| - drag_utils::SetDragImageOnDataObject(
|
| - image, gfx::Size(image.width(), image.height()), image_offset, &data);
|
| + drag_utils::SetDragImageOnDataObject(gfx::ImageSkia(image),
|
| + gfx::Size(image.width(), image.height()), image_offset, &data);
|
| }
|
|
|
| // We need to enable recursive tasks on the message loop so we can get
|
|
|