| Index: chrome/browser/profiles/profile_info_util.cc
|
| diff --git a/chrome/browser/profiles/profile_info_util.cc b/chrome/browser/profiles/profile_info_util.cc
|
| index 90681041bad463059493e3212d994ff998fb709d..277a4868f061c0aa1df80c520a391b77ca48edde 100644
|
| --- a/chrome/browser/profiles/profile_info_util.cc
|
| +++ b/chrome/browser/profiles/profile_info_util.cc
|
| @@ -21,7 +21,7 @@ gfx::Image GetAvatarIconForMenu(const gfx::Image& image,
|
| int length = std::min(kAvatarIconWidth, kAvatarIconHeight) - 2;
|
| SkBitmap bmp = skia::ImageOperations::Resize(
|
| image, skia::ImageOperations::RESIZE_BEST, length, length);
|
| - gfx::CanvasSkia canvas(gfx::Size(kAvatarIconWidth, kAvatarIconHeight), false);
|
| + gfx::Canvas canvas(gfx::Size(kAvatarIconWidth, kAvatarIconHeight), false);
|
|
|
| // Draw the icon centered on the canvas.
|
| int x = (kAvatarIconWidth - length) / 2;
|
| @@ -43,7 +43,7 @@ gfx::Image GetAvatarIconForWebUI(const gfx::Image& image,
|
| int length = std::min(kAvatarIconWidth, kAvatarIconHeight) - 2;
|
| SkBitmap bmp = skia::ImageOperations::Resize(
|
| image, skia::ImageOperations::RESIZE_BEST, length, length);
|
| - gfx::CanvasSkia canvas(gfx::Size(kAvatarIconWidth, kAvatarIconHeight), false);
|
| + gfx::Canvas canvas(gfx::Size(kAvatarIconWidth, kAvatarIconHeight), false);
|
|
|
| // Draw the icon centered on the canvas.
|
| int x = (kAvatarIconWidth - length) / 2;
|
| @@ -64,7 +64,7 @@ gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image,
|
| std::min(dst_width, dst_height)) - 2;
|
| SkBitmap bmp = skia::ImageOperations::Resize(
|
| image, skia::ImageOperations::RESIZE_BEST, length, length);
|
| - gfx::CanvasSkia canvas(gfx::Size(dst_width, dst_height), false);
|
| + gfx::Canvas canvas(gfx::Size(dst_width, dst_height), false);
|
|
|
| // Draw the icon on the bottom center of the canvas.
|
| int x1 = (dst_width - length) / 2;
|
|
|