diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:16:19 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:16:19 +0000 |
commit | 782388a4268cd2543ed6f88a01100fc00f2b0293 (patch) | |
tree | 8a80fc48f23a713f4fe0b3765a4ea949db1cb5f8 /ui/base/dragdrop/drag_utils.cc | |
parent | d4ae8057c8b4e45bf5e5998309418ed11d390171 (diff) | |
download | chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.zip chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.gz chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.bz2 |
Rename DrawBitmapInt to DrawImageInt
Bug=None
Test=Compiles
Review URL: https://chromiumcodereview.appspot.com/10512021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/dragdrop/drag_utils.cc')
-rw-r--r-- | ui/base/dragdrop/drag_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/dragdrop/drag_utils.cc b/ui/base/dragdrop/drag_utils.cc index 9e1bad51..8aee787 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.DrawBitmapInt(*icon, (width - icon->width()) / 2, 0); + canvas.DrawImageInt(*icon, (width - icon->width()) / 2, 0); string16 name = file_name.BaseName().LossyDisplayName(); const int flags = gfx::Canvas::TEXT_ALIGN_CENTER; |