summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/tree/tree_view_win.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 23:32:47 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 23:32:47 +0000
commit553981ab338db3c606b13016f3fb236cf7d0924f (patch)
tree206f7c96ac6fd4ee74083b7b7d339c5eeee96ab2 /ui/views/controls/tree/tree_view_win.cc
parentf16a1c323c36110e8b52caf8e1566c48167dd13a (diff)
downloadchromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.zip
chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.gz
chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.bz2
Revert 140877 - Rename DrawBitmapInt to DrawImageInt
Bug=None Test=Compiles Review URL: https://chromiumcodereview.appspot.com/10512021 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10546037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls/tree/tree_view_win.cc')
-rw-r--r--ui/views/controls/tree/tree_view_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/tree/tree_view_win.cc b/ui/views/controls/tree/tree_view_win.cc
index 5a81519..3f982fc 100644
--- a/ui/views/controls/tree/tree_view_win.cc
+++ b/ui/views/controls/tree/tree_view_win.cc
@@ -696,7 +696,7 @@ HIMAGELIST TreeView::CreateImageList() {
// Draw our icons into this canvas.
int height_offset = (height - model_images[i].height()) / 2;
int width_offset = (width - model_images[i].width()) / 2;
- canvas.DrawImageInt(model_images[i], width_offset, height_offset);
+ canvas.DrawBitmapInt(model_images[i], width_offset, height_offset);
model_icon = IconUtil::CreateHICONFromSkBitmap(canvas.ExtractBitmap());
} else {
model_icon = IconUtil::CreateHICONFromSkBitmap(model_images[i]);