Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4374)

Unified Diff: chrome/browser/extensions/bookmark_app_helper.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
background_paint.setColor(color_);
gfx::Rect icon_rect(icon_inset, icon_inset, icon_size, icon_size);

Powered by Google App Engine
This is Rietveld 408576698