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

Unified Diff: ui/views/controls/focusable_border.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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 | « ui/views/controls/focus_ring.cc ('k') | ui/views/controls/focusable_rounded_border_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/focusable_border.cc
diff --git a/ui/views/controls/focusable_border.cc b/ui/views/controls/focusable_border.cc
index 225dfb9d2f649b39b5c0f034507de1c3bf59f628..830ceae92caf5b5103aab04f779ea27e601b9898 100644
--- a/ui/views/controls/focusable_border.cc
+++ b/ui/views/controls/focusable_border.cc
@@ -39,8 +39,8 @@ void FocusableBorder::Paint(const View& view, gfx::Canvas* canvas) {
if (ui::MaterialDesignController::IsSecondaryUiMaterial() && view.HasFocus())
return;
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ CdlPaint paint;
+ paint.setStyle(CdlPaint::kStroke_Style);
paint.setColor(GetCurrentColor(view));
if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
« no previous file with comments | « ui/views/controls/focus_ring.cc ('k') | ui/views/controls/focusable_rounded_border_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698