| Index: ash/laser/laser_pointer_view.cc
|
| diff --git a/ash/laser/laser_pointer_view.cc b/ash/laser/laser_pointer_view.cc
|
| index ed3d40539a499f3014f275a2e3dac7ee9a4aecc6..1a209a07be636643be9be75e2b39dfa4da359ad0 100644
|
| --- a/ash/laser/laser_pointer_view.cc
|
| +++ b/ash/laser/laser_pointer_view.cc
|
| @@ -12,7 +12,6 @@
|
| #include "ash/shell.h"
|
| #include "base/timer/timer.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| -#include "third_party/skia/include/core/SkPaint.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/events/event.h"
|
| #include "ui/gfx/canvas.h"
|
| @@ -219,8 +218,8 @@ void LaserPointerView::OnPaint(gfx::Canvas* canvas) {
|
| if (laser_points_.IsEmpty())
|
| return;
|
|
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| + cc::PaintFlags paint;
|
| + paint.setStyle(cc::PaintFlags::kFill_Style);
|
| paint.setAntiAlias(true);
|
|
|
| // Compute the offset of the current widget.
|
| @@ -272,7 +271,7 @@ void LaserPointerView::OnPaint(gfx::Canvas* canvas) {
|
| }
|
| // Draw the last point as a circle.
|
| paint.setColor(SkColorSetA(kPointColor, current_opacity));
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| + paint.setStyle(cc::PaintFlags::kFill_Style);
|
| canvas->DrawCircle(current_point.location, kPointInitialRadius, paint);
|
| }
|
| } // namespace ash
|
|
|