Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index 29d20e4b6309011e26e81e5d6800e395760d9208..4420c658fe8d4d856d6b3b1baffe001faeaf20d3 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -164,10 +164,10 @@ private: |
GrBuffer* onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPattern, |
const void* data) override; |
- GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership) override; |
- GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&, |
- GrWrapOwnership) override; |
- GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&) override; |
+ sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership) override; |
+ sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&, |
+ GrWrapOwnership) override; |
+ sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&) override; |
gr_instanced::InstancedRendering* onCreateInstancedRendering() override; |