Chromium Code Reviews| Index: src/gpu/GrTessellatingPathRenderer.h |
| diff --git a/src/gpu/GrTessellatingPathRenderer.h b/src/gpu/GrTessellatingPathRenderer.h |
| index 79cafc99f520fe1a229bf52108528eda6657fd2f..4f0b638dd95bd8ff39b1eb87417afd81fc8dc1ed 100644 |
| --- a/src/gpu/GrTessellatingPathRenderer.h |
| +++ b/src/gpu/GrTessellatingPathRenderer.h |
| @@ -16,7 +16,7 @@ |
| */ |
| class SK_API GrTessellatingPathRenderer : public GrPathRenderer { |
| public: |
| - GrTessellatingPathRenderer(); |
| + explicit GrTessellatingPathRenderer(GrContext*); |
| bool canDrawPath(const GrDrawTarget*, |
| const GrPipelineBuilder*, |
| @@ -40,6 +40,8 @@ protected: |
| bool antiAlias) override; |
| typedef GrPathRenderer INHERITED; |
| +private: |
| + GrContext* fContext; |
|
bsalomon
2015/07/28 14:55:48
Do we need a long lived ptr back to the context? I
Stephen White
2015/07/28 15:10:28
It's to get the GrGpu to call createVertexBuffer()
bsalomon
2015/07/28 21:23:30
Gotcha, that code predates some refactoring. We wa
Stephen White
2015/07/28 22:11:23
Logged as http://skbug.com/4130.
|
| }; |
| #endif |