Index: ash/drag_drop/drag_drop_controller_unittest.cc |
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc |
index 30ec63f57ce3e2e06743189bd7cb7b06b203f852..b24c57b0acaf1d83290b3f0af76d30e37767e730 100644 |
--- a/ash/drag_drop/drag_drop_controller_unittest.cc |
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc |
@@ -17,7 +17,6 @@ |
#include "ui/base/clipboard/clipboard.h" |
#include "ui/base/clipboard/scoped_clipboard_writer.h" |
#include "ui/base/dragdrop/drag_drop_types.h" |
-#include "ui/base/dragdrop/drag_utils.h" |
#include "ui/base/dragdrop/os_exchange_data.h" |
#include "ui/base/ui_base_switches.h" |
#include "ui/events/event.h" |
@@ -77,8 +76,7 @@ class DragTestView : public views::View { |
data->SetString(base::UTF8ToUTF16("I am being dragged")); |
gfx::ImageSkiaRep image_rep(gfx::Size(10, 20), 1.0f); |
gfx::ImageSkia image_skia(image_rep); |
- |
- drag_utils::SetDragImageOnDataObject(image_skia, gfx::Vector2d(), data); |
+ data->provider().SetDragImage(image_skia, gfx::Vector2d()); |
} |
bool OnMousePressed(const ui::MouseEvent& event) override { return true; } |