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

Unified Diff: ui/views/controls/button/radio_button.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/button/radio_button.h ('k') | ui/views/controls/button/toggle_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/radio_button.cc
diff --git a/ui/views/controls/button/radio_button.cc b/ui/views/controls/button/radio_button.cc
index c350b85101d3b36cdddec590df6539483a38750a..96315c4cef6a8b3790fd35448f200f515261fb31 100644
--- a/ui/views/controls/button/radio_button.cc
+++ b/ui/views/controls/button/radio_button.cc
@@ -147,7 +147,7 @@ void RadioButton::SetChecked(bool checked) {
Checkbox::SetChecked(checked);
}
-void RadioButton::PaintFocusRing(gfx::Canvas* canvas, const SkPaint& paint) {
+void RadioButton::PaintFocusRing(gfx::Canvas* canvas, const CdlPaint& paint) {
canvas->DrawCircle(gfx::RectF(image()->bounds()).CenterPoint(),
image()->width() / 2, paint);
}
« no previous file with comments | « ui/views/controls/button/radio_button.h ('k') | ui/views/controls/button/toggle_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698