Reflect the DDLTask's ref on its target in its factory
Change-Id: I8eec3b816ee422922f1205b0eb9dca30cd3d00c9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/352119
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrDirectContextPriv.h b/src/gpu/GrDirectContextPriv.h
index 5fc9c2d..0c4dc15 100644
--- a/src/gpu/GrDirectContextPriv.h
+++ b/src/gpu/GrDirectContextPriv.h
@@ -131,7 +131,8 @@
return fContext->onGetSmallPathAtlasMgr();
}
- void createDDLTask(sk_sp<const SkDeferredDisplayList>, GrRenderTargetProxy* newDest,
+ void createDDLTask(sk_sp<const SkDeferredDisplayList>,
+ sk_sp<GrRenderTargetProxy> newDest,
SkIPoint offset);
bool compile(const GrProgramDesc&, const GrProgramInfo&);