Chromium Code Reviews| Index: chrome/browser/extensions/bookmark_app_helper.cc |
| diff --git a/chrome/browser/extensions/bookmark_app_helper.cc b/chrome/browser/extensions/bookmark_app_helper.cc |
| index a70c1b294760af858479e5a0fa4d389438adb6c1..3c829d95a5efc101174b922ec4fd73df2133cbbf 100644 |
| --- a/chrome/browser/extensions/bookmark_app_helper.cc |
| +++ b/chrome/browser/extensions/bookmark_app_helper.cc |
| @@ -109,8 +109,8 @@ class GeneratedIconImageSource : public gfx::CanvasImageSource { |
| #endif |
| // Draw a rounded rect of the given |color|. |
| - SkPaint background_paint; |
| - background_paint.setFlags(SkPaint::kAntiAlias_Flag); |
| + cc::PaintFlags background_paint; |
| + background_paint.setAntiAlias(true); |
|
vmpstr
2017/01/25 22:42:11
tbh, the implementation of setAntiAlias is more co
|
| background_paint.setColor(color_); |
| gfx::Rect icon_rect(icon_inset, icon_inset, icon_size, icon_size); |