Index: ui/base/dragdrop/drag_utils.cc |
diff --git a/ui/base/dragdrop/drag_utils.cc b/ui/base/dragdrop/drag_utils.cc |
index 3e69b15c8c4e563ff3a6c457e334862f736a54ad..4b63fbbaccc0c7ca4d30e9a2b820ff279763e854 100644 |
--- a/ui/base/dragdrop/drag_utils.cc |
+++ b/ui/base/dragdrop/drag_utils.cc |
@@ -103,4 +103,12 @@ void SetDragImageOnDataObject(const gfx::Canvas& canvas, |
SetDragImageOnDataObject(image, cursor_offset, data_object); |
} |
+#if !defined(OS_WIN) |
+void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia, |
+ const gfx::Vector2d& cursor_offset, |
+ ui::OSExchangeData* data_object) { |
+ data_object->provider().SetDragImage(image_skia, cursor_offset); |
+} |
+#endif |
+ |
} // namespace drag_utils |