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

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

Issue 2680943002: ui: Clean up naming of paint-related identifiers (Closed)
Patch Set: Created 3 years, 10 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 0a2c89c830d067e387004ce7b1cb5c7d345c9284..ca859890df3b4d0238cfb405222fe849185272e0 100644
--- a/ui/views/controls/button/radio_button.cc
+++ b/ui/views/controls/button/radio_button.cc
@@ -148,9 +148,9 @@ void RadioButton::SetChecked(bool checked) {
}
void RadioButton::PaintFocusRing(gfx::Canvas* canvas,
- const cc::PaintFlags& paint) {
+ const cc::PaintFlags& flags) {
canvas->DrawCircle(gfx::RectF(image()->bounds()).CenterPoint(),
- image()->width() / 2, paint);
+ image()->width() / 2, flags);
}
const gfx::VectorIcon& RadioButton::GetVectorIcon() const {
« 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