Index: content/browser/web_contents/web_contents_view_aura.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc |
index 68481ad242315562d5a31920a8f77adb53982bc7..a2a0fe1c880ddaab891054aebddce6c42bf10764 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.cc |
+++ b/content/browser/web_contents/web_contents_view_aura.cc |
@@ -61,7 +61,6 @@ |
#include "ui/base/clipboard/clipboard.h" |
#include "ui/base/clipboard/custom_data_helper.h" |
#include "ui/base/dragdrop/drag_drop_types.h" |
-#include "ui/base/dragdrop/drag_utils.h" |
#include "ui/base/dragdrop/drop_target_event.h" |
#include "ui/base/dragdrop/os_exchange_data.h" |
#include "ui/base/dragdrop/os_exchange_data_provider_factory.h" |
@@ -974,7 +973,7 @@ void WebContentsViewAura::StartDragging( |
std::move(provider)); // takes ownership of |provider|. |
if (!image.isNull()) |
- drag_utils::SetDragImageOnDataObject(image, image_offset, &data); |
+ data.provider().SetDragImage(image, image_offset); |
std::unique_ptr<WebDragSourceAura> drag_source( |
new WebDragSourceAura(GetNativeView(), web_contents_)); |