diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:16:19 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:16:19 +0000 |
commit | 782388a4268cd2543ed6f88a01100fc00f2b0293 (patch) | |
tree | 8a80fc48f23a713f4fe0b3765a4ea949db1cb5f8 /chrome/common/badge_util.cc | |
parent | d4ae8057c8b4e45bf5e5998309418ed11d390171 (diff) | |
download | chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.zip chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.gz chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.bz2 |
Rename DrawBitmapInt to DrawImageInt
Bug=None
Test=Compiles
Review URL: https://chromiumcodereview.appspot.com/10512021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140877 0039d316-1c4b-4281-b951-d872f2087c98
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 |