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

Unified Diff: ash/common/shelf/shelf_button.cc

Issue 2679423002: ash: 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 | « ash/common/shelf/overflow_button.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_button.cc
diff --git a/ash/common/shelf/shelf_button.cc b/ash/common/shelf/shelf_button.cc
index c91cd352189b03d4ebf62c658a3c808d9fbee3da..5e1fc2d1f92a54674de6f5dbc1ba9d3844be8511 100644
--- a/ash/common/shelf/shelf_button.cc
+++ b/ash/common/shelf/shelf_button.cc
@@ -60,13 +60,13 @@ const int kIconPaddingVerticalMD = 8;
// Paints an activity indicator on |canvas| whose |size| is specified in DIP.
void PaintIndicatorOnCanvas(gfx::Canvas* canvas, const gfx::Size& size) {
- cc::PaintFlags paint;
- paint.setColor(kIndicatorColor);
- paint.setFlags(cc::PaintFlags::kAntiAlias_Flag);
+ cc::PaintFlags flags;
+ flags.setColor(kIndicatorColor);
+ flags.setFlags(cc::PaintFlags::kAntiAlias_Flag);
canvas->DrawCircle(
gfx::Point(size.width() / 2,
size.height() - kIndicatorOffsetFromBottom - kIndicatorRadius),
- kIndicatorRadius, paint);
+ kIndicatorRadius, flags);
}
// Simple AnimationDelegate that owns a single ThrobAnimation instance to
« no previous file with comments | « ash/common/shelf/overflow_button.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698