| Index: ui/views/animation/ink_drop_mask.cc
|
| diff --git a/ui/views/animation/ink_drop_mask.cc b/ui/views/animation/ink_drop_mask.cc
|
| index 3e231bcd2f323a55cd828ea9ee32a2696ed1e2ff..77255ff78a7997ff9e8302f5f5fae074cb41da8d 100644
|
| --- a/ui/views/animation/ink_drop_mask.cc
|
| +++ b/ui/views/animation/ink_drop_mask.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "ui/views/animation/ink_drop_mask.h"
|
|
|
| +#include "skia/ext/cdl_paint.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "ui/compositor/paint_recorder.h"
|
| #include "ui/gfx/canvas.h"
|
| @@ -42,9 +43,9 @@ RoundRectInkDropMask::RoundRectInkDropMask(const gfx::Size& layer_size,
|
| corner_radius_(corner_radius) {}
|
|
|
| void RoundRectInkDropMask::OnPaintLayer(const ui::PaintContext& context) {
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| paint.setAlpha(255);
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| + paint.setStyle(CdlPaint::kFill_Style);
|
| paint.setAntiAlias(true);
|
|
|
| ui::PaintRecorder recorder(context, layer()->size());
|
| @@ -63,9 +64,9 @@ CircleInkDropMask::CircleInkDropMask(const gfx::Size& layer_size,
|
| mask_radius_(mask_radius) {}
|
|
|
| void CircleInkDropMask::OnPaintLayer(const ui::PaintContext& context) {
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| paint.setAlpha(255);
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| + paint.setStyle(CdlPaint::kFill_Style);
|
| paint.setAntiAlias(true);
|
|
|
| ui::PaintRecorder recorder(context, layer()->size());
|
|
|