Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index d59b2a28f0c7c98be5029f1cca0ab02f8183d8b9..087d821beb1f06285b9bdff0211786cd14898bb1 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -192,7 +192,7 @@ public: |
* |
* @return a draw context |
*/ |
- GrDrawContext* drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps = NULL); |
+ sk_sp<GrDrawContext> drawContext(sk_sp<GrRenderTarget> rt, const SkSurfaceProps* = nullptr); |
/////////////////////////////////////////////////////////////////////////// |
// Misc. |