summaryrefslogtreecommitdiffstats
path: root/ui/base/dragdrop/drag_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/dragdrop/drag_utils.cc')
-rw-r--r--ui/base/dragdrop/drag_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/dragdrop/drag_utils.cc b/ui/base/dragdrop/drag_utils.cc
index 8aee787..9e1bad51 100644
--- a/ui/base/dragdrop/drag_utils.cc
+++ b/ui/base/dragdrop/drag_utils.cc
@@ -41,7 +41,7 @@ void CreateDragImageForFile(const FilePath& file_name,
gfx::Canvas canvas(gfx::Size(width, height), false /* translucent */);
// Paint the icon.
- canvas.DrawImageInt(*icon, (width - icon->width()) / 2, 0);
+ canvas.DrawBitmapInt(*icon, (width - icon->width()) / 2, 0);
string16 name = file_name.BaseName().LossyDisplayName();
const int flags = gfx::Canvas::TEXT_ALIGN_CENTER;