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

Unified Diff: ui/views/controls/combobox/combobox.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/toggle_button.cc ('k') | ui/views/controls/focus_ring.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/combobox.cc
diff --git a/ui/views/controls/combobox/combobox.cc b/ui/views/controls/combobox/combobox.cc
index 447e56f9ee117d35fde7773d48b9df89a9bb16ae..abcb93408fa123efeeafecbc2c34c6e26fb82752 100644
--- a/ui/views/controls/combobox/combobox.cc
+++ b/ui/views/controls/combobox/combobox.cc
@@ -857,14 +857,14 @@ void Combobox::PaintText(gfx::Canvas* canvas) {
path.rLineTo(2 * kEpsilon, 0);
path.rLineTo(height, -height);
path.close();
- cc::PaintFlags paint;
+ cc::PaintFlags flags;
SkColor arrow_color = GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_ButtonEnabledColor);
if (!enabled())
arrow_color = SkColorSetA(arrow_color, gfx::kDisabledControlAlpha);
- paint.setColor(arrow_color);
- paint.setAntiAlias(true);
- canvas->DrawPath(path, paint);
+ flags.setColor(arrow_color);
+ flags.setAntiAlias(true);
+ canvas->DrawPath(path, flags);
} else {
canvas->DrawImageInt(arrow_image_, arrow_bounds.x(), arrow_bounds.y());
}
« no previous file with comments | « ui/views/controls/button/toggle_button.cc ('k') | ui/views/controls/focus_ring.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698