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

Unified Diff: ui/views/controls/focusable_rounded_border_mac.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/focusable_border.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/focusable_rounded_border_mac.cc
diff --git a/ui/views/controls/focusable_rounded_border_mac.cc b/ui/views/controls/focusable_rounded_border_mac.cc
index 3deaecbcae4972ac2cddeeddf370ffb6d29aa967..9a8653356f054f1cc865b1b2ed4adcde10833122 100644
--- a/ui/views/controls/focusable_rounded_border_mac.cc
+++ b/ui/views/controls/focusable_rounded_border_mac.cc
@@ -28,8 +28,8 @@ FocusableRoundedBorder::~FocusableRoundedBorder() {}
// likely diverge in future.
// TODO(ellyjones): Diverge it by adding soft focus rings.
void FocusableRoundedBorder::Paint(const View& view, gfx::Canvas* canvas) {
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ CdlPaint paint;
+ paint.setStyle(CdlPaint::kStroke_Style);
paint.setStrokeWidth(kThickness);
paint.setColor(GetCurrentColor(view));
paint.setAntiAlias(true);
« no previous file with comments | « ui/views/controls/focusable_border.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698