diff options
Diffstat (limited to 'chrome/common/badge_util.cc')
-rw-r--r-- | chrome/common/badge_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/badge_util.cc b/chrome/common/badge_util.cc index 0c7478e..3859a72 100644 --- a/chrome/common/badge_util.cc +++ b/chrome/common/badge_util.cc @@ -86,7 +86,7 @@ SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon, // Render the badge bitmap and overlay into a canvas. scoped_ptr<gfx::Canvas> canvas( new gfx::Canvas(gfx::Size(badge_width, icon.height()), false)); - canvas->DrawBitmapInt(icon, 0, 0); + canvas->DrawImageInt(icon, 0, 0); // Draw the text overlay centered horizontally and vertically. Skia expects // us to specify the lower left coordinate of the text box, which is why we |