| Index: chrome/common/badge_util.cc
|
| diff --git a/chrome/common/badge_util.cc b/chrome/common/badge_util.cc
|
| index f1d3ef489f3fdb3a9617cfed240c444551c4fa1b..0c7478e41b8efaca9d3b4ff2f29c6d062263a5f5 100644
|
| --- a/chrome/common/badge_util.cc
|
| +++ b/chrome/common/badge_util.cc
|
| @@ -84,8 +84,8 @@ SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon,
|
| badge_width--;
|
|
|
| // Render the badge bitmap and overlay into a canvas.
|
| - scoped_ptr<gfx::CanvasSkia> canvas(
|
| - new gfx::CanvasSkia(gfx::Size(badge_width, icon.height()), false));
|
| + scoped_ptr<gfx::Canvas> canvas(
|
| + new gfx::Canvas(gfx::Size(badge_width, icon.height()), false));
|
| canvas->DrawBitmapInt(icon, 0, 0);
|
|
|
| // Draw the text overlay centered horizontally and vertically. Skia expects
|
|
|