summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/avatar_menu_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/avatar_menu_button.cc')
-rw-r--r--chrome/browser/ui/views/avatar_menu_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/avatar_menu_button.cc b/chrome/browser/ui/views/avatar_menu_button.cc
index 154c97f..6f1ef5d 100644
--- a/chrome/browser/ui/views/avatar_menu_button.cc
+++ b/chrome/browser/ui/views/avatar_menu_button.cc
@@ -128,7 +128,7 @@ void AvatarMenuButton::OnPaint(gfx::Canvas* canvas) {
// incognito image has shadows at the top that make the apparent center below
// the real center.
int dst_y = Round((height() - dst_height) / 2.0);
- canvas->DrawBitmapInt(button_icon_, 0, 0, button_icon_.width(),
+ canvas->DrawImageInt(button_icon_, 0, 0, button_icon_.width(),
button_icon_.height(), dst_x, dst_y, dst_width, dst_height, false);
}