diff options
Diffstat (limited to 'ui/views/controls/tree/tree_view_win.cc')
-rw-r--r-- | ui/views/controls/tree/tree_view_win.cc | 2 |
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 3f982fc..5a81519 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.DrawBitmapInt(model_images[i], width_offset, height_offset); + canvas.DrawImageInt(model_images[i], width_offset, height_offset); model_icon = IconUtil::CreateHICONFromSkBitmap(canvas.ExtractBitmap()); } else { model_icon = IconUtil::CreateHICONFromSkBitmap(model_images[i]); |