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

Unified Diff: ash/autoclick/common/autoclick_ring_handler.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/accelerators/accelerator_controller_delegate_aura.cc ('k') | ash/common/accelerators/debug_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/common/autoclick_ring_handler.cc
diff --git a/ash/autoclick/common/autoclick_ring_handler.cc b/ash/autoclick/common/autoclick_ring_handler.cc
index 9993480d5eb165e4f41597d34efa8d459cc42324..1b4a30643e632454a59f27bf14a64dd0e81cfa9b 100644
--- a/ash/autoclick/common/autoclick_ring_handler.cc
+++ b/ash/autoclick/common/autoclick_ring_handler.cc
@@ -5,7 +5,6 @@
#include "ash/autoclick/common/autoclick_ring_handler.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/core/SkRect.h"
#include "ui/aura/window.h"
@@ -46,8 +45,8 @@ const SkColor kAutoclickRingCircleColor = SkColorSetARGB(255, 0, 0, 255);
void PaintAutoclickRingCircle(gfx::Canvas* canvas,
gfx::Point& center,
int radius) {
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ cc::PaintFlags paint;
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setStrokeWidth(2 * kAutoclickRingArcWidth);
paint.setColor(kAutoclickRingCircleColor);
paint.setAntiAlias(true);
@@ -60,8 +59,8 @@ void PaintAutoclickRingArc(gfx::Canvas* canvas,
int radius,
int start_angle,
int end_angle) {
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ cc::PaintFlags paint;
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setStrokeWidth(2 * kAutoclickRingArcWidth);
paint.setColor(kAutoclickRingArcColor);
paint.setAntiAlias(true);
« no previous file with comments | « ash/accelerators/accelerator_controller_delegate_aura.cc ('k') | ash/common/accelerators/debug_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698