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

Unified Diff: ui/gfx/paint_throbber.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/gfx/nine_image_painter.cc ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/paint_throbber.cc
diff --git a/ui/gfx/paint_throbber.cc b/ui/gfx/paint_throbber.cc
index 2580687dff687bc7c4a3833bb0536eb134582645..f3486a6d97455806f6d1ad6bf8eebd0d5b232ec3 100644
--- a/ui/gfx/paint_throbber.cc
+++ b/ui/gfx/paint_throbber.cc
@@ -47,13 +47,13 @@ void PaintArc(Canvas* canvas,
SkPath path;
path.arcTo(RectToSkRect(oval), start_angle, sweep, true);
- cc::PaintFlags paint;
- paint.setColor(color);
- paint.setStrokeCap(cc::PaintFlags::kRound_Cap);
- paint.setStrokeWidth(stroke_width);
- paint.setStyle(cc::PaintFlags::kStroke_Style);
- paint.setAntiAlias(true);
- canvas->DrawPath(path, paint);
+ cc::PaintFlags flags;
+ flags.setColor(color);
+ flags.setStrokeCap(cc::PaintFlags::kRound_Cap);
+ flags.setStrokeWidth(stroke_width);
+ flags.setStyle(cc::PaintFlags::kStroke_Style);
+ flags.setAntiAlias(true);
+ canvas->DrawPath(path, flags);
}
void CalculateWaitingAngles(const base::TimeDelta& elapsed_time,
« no previous file with comments | « ui/gfx/nine_image_painter.cc ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698