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

Unified Diff: ui/app_list/views/folder_background_view.cc

Issue 2716213002: ui: Fix cc/paint skia type mismatches (Closed)
Patch Set: Created 3 years, 10 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: ui/app_list/views/folder_background_view.cc
diff --git a/ui/app_list/views/folder_background_view.cc b/ui/app_list/views/folder_background_view.cc
index 2d58893da53bc5f6310e2959d998086e6d85ab93..0140209cb6028fdc6f42667cb75bdb2fd16a3080 100644
--- a/ui/app_list/views/folder_background_view.cc
+++ b/ui/app_list/views/folder_background_view.cc
@@ -79,13 +79,12 @@ void FolderBackgroundView::OnPaint(gfx::Canvas* canvas) {
return;
// Draw ink bubble that shows the folder boundary.
- SkPaint paint;
- paint.setStyle(SkPaint::kFill_Style);
- paint.setAntiAlias(true);
- paint.setColor(kFolderBubbleColor);
+ cc::PaintFlags flags;
+ flags.setStyle(cc::PaintFlags::kFill_Style);
+ flags.setAntiAlias(true);
+ flags.setColor(kFolderBubbleColor);
canvas->DrawCircle(GetContentsBounds().CenterPoint(),
- GetFolderContainerBubbleRadius(),
- paint);
+ GetFolderContainerBubbleRadius(), flags);
}
void FolderBackgroundView::OnImplicitAnimationsCompleted() {

Powered by Google App Engine
This is Rietveld 408576698