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

Unified Diff: ash/common/accelerators/debug_commands.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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 50d69b2bd1e781881a83fdce99b2bff0527c60ec..d895a88835e1bc0c3553f0cd49b8c645d1e71076 100644
--- a/ash/common/accelerators/debug_commands.cc
+++ b/ash/common/accelerators/debug_commands.cc
@@ -92,10 +92,10 @@ gfx::ImageSkia CreateWallpaperImage(SkColor fill, SkColor rect) {
gfx::Size image_size(1366, 768);
gfx::Canvas canvas(image_size, 1.0f, true);
canvas.DrawColor(fill);
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setColor(rect);
paint.setStrokeWidth(10);
- paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setBlendMode(SkBlendMode::kSrcOver);
canvas.DrawRoundRect(gfx::Rect(image_size), 100, paint);
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