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

Unified Diff: ash/common/accelerators/debug_commands.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/autoclick/common/autoclick_ring_handler.cc ('k') | ash/common/accelerators/exit_warning_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/accelerators/debug_commands.cc
diff --git a/ash/common/accelerators/debug_commands.cc b/ash/common/accelerators/debug_commands.cc
index d895a88835e1bc0c3553f0cd49b8c645d1e71076..0848b309a6e8c76b7e2c1b2d77c81a33fce4428a 100644
--- a/ash/common/accelerators/debug_commands.cc
+++ b/ash/common/accelerators/debug_commands.cc
@@ -92,12 +92,12 @@ gfx::ImageSkia CreateWallpaperImage(SkColor fill, SkColor rect) {
gfx::Size image_size(1366, 768);
gfx::Canvas canvas(image_size, 1.0f, true);
canvas.DrawColor(fill);
- cc::PaintFlags paint;
- paint.setColor(rect);
- paint.setStrokeWidth(10);
- paint.setStyle(cc::PaintFlags::kStroke_Style);
- paint.setBlendMode(SkBlendMode::kSrcOver);
- canvas.DrawRoundRect(gfx::Rect(image_size), 100, paint);
+ cc::PaintFlags flags;
+ flags.setColor(rect);
+ flags.setStrokeWidth(10);
+ flags.setStyle(cc::PaintFlags::kStroke_Style);
+ flags.setBlendMode(SkBlendMode::kSrcOver);
+ canvas.DrawRoundRect(gfx::Rect(image_size), 100, flags);
return gfx::ImageSkia(canvas.ExtractImageRep());
}
« no previous file with comments | « ash/autoclick/common/autoclick_ring_handler.cc ('k') | ash/common/accelerators/exit_warning_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698