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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc

Issue 2717943002: Fix cc/paint skia type mismatches (Closed)
Patch Set: Rebase 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: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc
index e2e119218e17315eec873710614a8bd80bf61773..281adb4e9c3ad3d57b6d69abf89a1b877e37ac2b 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc
@@ -60,11 +60,11 @@ class AppListOverlayBackground : public views::Background {
// 1px smaller on platforms that support shadows.
const int kAppListOverlayBorderRadius = 3;
- SkPaint paint;
- paint.setStyle(SkPaint::kFill_Style);
- paint.setColor(app_list::kContentsBackgroundColor);
+ cc::PaintFlags flags;
+ flags.setStyle(cc::PaintFlags::kFill_Style);
+ flags.setColor(app_list::kContentsBackgroundColor);
canvas->DrawRoundRect(view->GetContentsBounds(),
- kAppListOverlayBorderRadius, paint);
+ kAppListOverlayBorderRadius, flags);
}
private:
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | chrome/browser/ui/views/frame/browser_header_painter_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698