| Index: src/gpu/GrDashLinePathRenderer.h
|
| diff --git a/src/gpu/GrDashLinePathRenderer.h b/src/gpu/GrDashLinePathRenderer.h
|
| index 09dc7ee2365e69051f65cd2d4618f7f15d15f00f..2e37665e518602c3cfcaea453cc18e67b8d01df6 100644
|
| --- a/src/gpu/GrDashLinePathRenderer.h
|
| +++ b/src/gpu/GrDashLinePathRenderer.h
|
| @@ -12,15 +12,9 @@
|
| #include "GrPathRenderer.h"
|
|
|
| class GrDashLinePathRenderer : public GrPathRenderer {
|
| -public:
|
| - bool canDrawPath(const GrDrawTarget*,
|
| - const GrPipelineBuilder*,
|
| - const SkMatrix& viewMatrix,
|
| - const SkPath&,
|
| - const GrStrokeInfo&,
|
| - bool antiAlias) const override;
|
| -
|
| -protected:
|
| +private:
|
| + bool onCanDrawPath(const CanDrawPathArgs&) const override;
|
| +
|
| StencilSupport onGetStencilSupport(const GrDrawTarget*,
|
| const GrPipelineBuilder*,
|
| const SkPath&,
|
| @@ -28,13 +22,8 @@ protected:
|
| return kNoSupport_StencilSupport;
|
| }
|
|
|
| - bool onDrawPath(GrDrawTarget*,
|
| - GrPipelineBuilder*,
|
| - GrColor,
|
| - const SkMatrix& viewMatrix,
|
| - const SkPath&,
|
| - const GrStrokeInfo&,
|
| - bool antiAlias) override;
|
| + bool onDrawPath(const DrawPathArgs&) override;
|
| +
|
| SkAutoTUnref<GrGpu> fGpu;
|
| typedef GrPathRenderer INHERITED;
|
| };
|
|
|