Index: chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
diff --git a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
index 1ca59a1147c2dab2946f559f17728f852a39f476..f086e8ce059458d461af75eaea044ea206b9e237 100644 |
--- a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
+++ b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc |
@@ -57,10 +57,10 @@ class KioskExternalUpdateNotificationView : public views::WidgetDelegateView { |
// views::WidgetDelegateView overrides: |
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); |
} |