| Index: src/gpu/GrSoftwarePathRenderer.h
|
| diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h
|
| index 578911954cf2c9550df75ad15e80b31bc15827f5..edc47ce2c97dbd4b704e5471aad9c481a1d0e41a 100644
|
| --- a/src/gpu/GrSoftwarePathRenderer.h
|
| +++ b/src/gpu/GrSoftwarePathRenderer.h
|
| @@ -10,7 +10,7 @@
|
|
|
| #include "GrPathRenderer.h"
|
|
|
| -class GrContext;
|
| +class GrTextureProvider;
|
|
|
| /**
|
| * This class uses the software side to render a path to an SkBitmap and
|
| @@ -18,9 +18,8 @@ class GrContext;
|
| */
|
| class GrSoftwarePathRenderer : public GrPathRenderer {
|
| public:
|
| - GrSoftwarePathRenderer(GrContext* context)
|
| - : fContext(context) {
|
| - }
|
| + GrSoftwarePathRenderer(GrTextureProvider* texProvider) : fTexProvider(texProvider) { }
|
| +
|
| private:
|
| StencilSupport onGetStencilSupport(const SkPath&) const override {
|
| return GrPathRenderer::kNoSupport_StencilSupport;
|
| @@ -31,7 +30,7 @@ private:
|
| bool onDrawPath(const DrawPathArgs&) override;
|
|
|
| private:
|
| - GrContext* fContext;
|
| + GrTextureProvider* fTexProvider;
|
|
|
| typedef GrPathRenderer INHERITED;
|
| };
|
|
|