| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 1ed99c1891a1a2178de90bc0a2ee662c88f2e78f..4b78c89f918379586266c024cb7dd5398eaab828 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -226,6 +226,7 @@ private:
|
| friend class GrContext; // for ctor
|
|
|
| GrDrawContext(GrContext* context, GrDrawTarget* drawTarget);
|
| + ~GrDrawContext() override;
|
|
|
| // Sets the paint. Returns true on success; false on failure.
|
| bool prepareToDraw(GrPipelineBuilder*,
|
| @@ -245,8 +246,8 @@ private:
|
| const SkPath&,
|
| const GrStrokeInfo&);
|
|
|
| - GrContext* fContext; // owning context -> no ref
|
| - SkAutoTUnref<GrDrawTarget> fDrawTarget;
|
| + GrContext* fContext; // owning context -> no ref
|
| + GrDrawTarget* fDrawTarget;
|
| };
|
|
|
| #endif
|
|
|