Index: src/gpu/GrPathRenderingDrawContext.h |
diff --git a/src/gpu/GrPathRenderingDrawContext.h b/src/gpu/GrPathRenderingDrawContext.h |
index 49a0e1d3c54de77796a61c9bd24171e401c85127..5d1893cf90e78f6d9672b8254414834986f62c3b 100644 |
--- a/src/gpu/GrPathRenderingDrawContext.h |
+++ b/src/gpu/GrPathRenderingDrawContext.h |
@@ -26,10 +26,10 @@ public: |
SkScalar x, SkScalar y, |
SkDrawFilter*, const SkIRect& clipBounds) override; |
protected: |
- GrPathRenderingDrawContext(GrContext* ctx, GrDrawingManager* mgr, GrRenderTarget* rt, |
+ GrPathRenderingDrawContext(GrContext* ctx, GrDrawingManager* mgr, sk_sp<GrRenderTarget> rt, |
const SkSurfaceProps* surfaceProps, GrAuditTrail* at, |
GrSingleOwner* so) |
- : INHERITED(ctx, mgr, rt, surfaceProps, at, so) {} |
+ : INHERITED(ctx, mgr, std::move(rt), surfaceProps, at, so) {} |
private: |
SkAutoTDelete<GrStencilAndCoverTextContext> fStencilAndCoverTextContext; |