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

Unified Diff: chrome/browser/chromeos/ui/kiosk_external_update_notification.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/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);
}
« no previous file with comments | « chrome/browser/chromeos/ui/idle_app_name_notification_view.cc ('k') | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698