Index: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
diff --git a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
index 19b1f41cd260b978e47e25fb092299dc6046765f..23a39bf7e10301d8e4239b51575cd601a7e6201b 100644 |
--- a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
+++ b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
@@ -166,10 +166,10 @@ class IdleAppNameNotificationDelegateView |
} |
void OnPaint(gfx::Canvas* canvas) override { |
- SkPaint paint; |
- paint.setStyle(SkPaint::kFill_Style); |
- paint.setColor(kWindowBackgroundColor); |
- canvas->DrawRoundRect(GetLocalBounds(), kWindowCornerRadius, paint); |
+ cc::PaintFlags flags; |
+ flags.setStyle(cc::PaintFlags::kFill_Style); |
+ flags.setColor(kWindowBackgroundColor); |
+ canvas->DrawRoundRect(GetLocalBounds(), kWindowCornerRadius, flags); |
views::WidgetDelegateView::OnPaint(canvas); |
} |