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

Unified Diff: ui/views/controls/button/radio_button.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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
« 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 9d0dbf8dec7abb9ff8af6bbcf33ce44c9ab43607..0a2c89c830d067e387004ce7b1cb5c7d345c9284 100644
--- a/ui/views/controls/button/radio_button.cc
+++ b/ui/views/controls/button/radio_button.cc
@@ -147,7 +147,8 @@ void RadioButton::SetChecked(bool checked) {
Checkbox::SetChecked(checked);
}
-void RadioButton::PaintFocusRing(gfx::Canvas* canvas, const SkPaint& paint) {
+void RadioButton::PaintFocusRing(gfx::Canvas* canvas,
+ const cc::PaintFlags& 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