Index: src/gpu/gl/GrGLTextureRenderTarget.h |
diff --git a/src/gpu/gl/GrGLTextureRenderTarget.h b/src/gpu/gl/GrGLTextureRenderTarget.h |
index 0826cf3a714dc651773fb1b2b3919b42f6f07480..c5c020fef6b9dcb716f75963ef02a8ce87007724 100644 |
--- a/src/gpu/gl/GrGLTextureRenderTarget.h |
+++ b/src/gpu/gl/GrGLTextureRenderTarget.h |
@@ -40,9 +40,9 @@ public: |
void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override; |
- static GrGLTextureRenderTarget* CreateWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc, |
- const GrGLTexture::IDDesc& texIDDesc, |
- const GrGLRenderTarget::IDDesc& rtIDDesc); |
+ static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc, |
+ const GrGLTexture::IDDesc& texIDDesc, |
+ const GrGLRenderTarget::IDDesc& rtIDDesc); |
protected: |
void onAbandon() override { |
GrGLRenderTarget::onAbandon(); |