summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/tabs/base_tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/tabs/base_tab.cc')
-rw-r--r--chrome/browser/ui/views/tabs/base_tab.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc
index 34d7dca..cdbc05d 100644
--- a/chrome/browser/ui/views/tabs/base_tab.cc
+++ b/chrome/browser/ui/views/tabs/base_tab.cc
@@ -105,10 +105,10 @@ void DrawIconCenter(gfx::Canvas* canvas,
// NOTE: the clipping is a work around for 69528, it shouldn't be necessary.
canvas->Save();
canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height));
- canvas->DrawBitmapInt(image,
- image_offset, 0, icon_width, icon_height,
- dst_x, dst_y, icon_width, icon_height,
- filter);
+ canvas->DrawImageInt(image,
+ image_offset, 0, icon_width, icon_height,
+ dst_x, dst_y, icon_width, icon_height,
+ filter);
canvas->Restore();
}