Index: src/gpu/GrPathRenderingDrawContext.h |
diff --git a/src/gpu/GrPathRenderingDrawContext.h b/src/gpu/GrPathRenderingDrawContext.h |
index ab36955ae07760559773c4b81ff55d8d337a6981..49a0e1d3c54de77796a61c9bd24171e401c85127 100644 |
--- a/src/gpu/GrPathRenderingDrawContext.h |
+++ b/src/gpu/GrPathRenderingDrawContext.h |
@@ -29,11 +29,10 @@ protected: |
GrPathRenderingDrawContext(GrContext* ctx, GrDrawingManager* mgr, GrRenderTarget* rt, |
const SkSurfaceProps* surfaceProps, GrAuditTrail* at, |
GrSingleOwner* so) |
- : INHERITED(ctx, mgr, rt, surfaceProps, at, so) |
- , fStencilAndCoverTextContext(nullptr) {} |
+ : INHERITED(ctx, mgr, rt, surfaceProps, at, so) {} |
private: |
- GrStencilAndCoverTextContext* fStencilAndCoverTextContext; |
+ SkAutoTDelete<GrStencilAndCoverTextContext> fStencilAndCoverTextContext; |
friend class GrDrawingManager; // for ctor |