Index: ui/views/controls/focus_ring.cc |
diff --git a/ui/views/controls/focus_ring.cc b/ui/views/controls/focus_ring.cc |
index 3abf1706c5df11bc270d9e3496213ae09a1d260d..c8c4d472abd18dc6f53ee7971c7deeefb5e002b6 100644 |
--- a/ui/views/controls/focus_ring.cc |
+++ b/ui/views/controls/focus_ring.cc |
@@ -69,7 +69,7 @@ void FocusRing::Layout() { |
} |
void FocusRing::OnPaint(gfx::Canvas* canvas) { |
- SkPaint paint; |
+ cc::PaintFlags paint; |
paint.setAntiAlias(true); |
paint.setColor( |
SkColorSetA(GetNativeTheme()->GetSystemColor( |
@@ -77,7 +77,7 @@ void FocusRing::OnPaint(gfx::Canvas* canvas) { |
? override_color_id_ |
: ui::NativeTheme::kColorId_FocusedBorderColor), |
0x66)); |
- paint.setStyle(SkPaint::kStroke_Style); |
+ paint.setStyle(cc::PaintFlags::kStroke_Style); |
paint.setStrokeWidth(kFocusHaloThicknessDp); |
gfx::RectF rect(GetLocalBounds()); |
rect.Inset(gfx::InsetsF(kFocusHaloThicknessDp / 2.f)); |