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

Unified Diff: ash/common/system/toast/toast_overlay.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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
« no previous file with comments | « ash/common/system/chromeos/network/network_icon.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/toast/toast_overlay.cc
diff --git a/ash/common/system/toast/toast_overlay.cc b/ash/common/system/toast/toast_overlay.cc
index 5b5e6524af762ee79daef09d11266377e882898e..4e0da1d02dec3f6ce0e774efcba3e404a186ec0a 100644
--- a/ash/common/system/toast/toast_overlay.cc
+++ b/ash/common/system/toast/toast_overlay.cc
@@ -184,8 +184,8 @@ ToastOverlayView::ToastOverlayView(
ToastOverlayView::~ToastOverlayView() {}
void ToastOverlayView::OnPaint(gfx::Canvas* canvas) {
- SkPaint paint;
- paint.setStyle(SkPaint::kFill_Style);
+ cc::PaintFlags paint;
+ paint.setStyle(cc::PaintFlags::kFill_Style);
paint.setColor(kButtonBackgroundColor);
canvas->DrawRoundRect(GetLocalBounds(), 2, paint);
views::View::OnPaint(canvas);
« no previous file with comments | « ash/common/system/chromeos/network/network_icon.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698