Index: src/gpu/GrResourceProvider.cpp |
diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp |
index b63a7eaa458ed2323b82f32baa16b23ee3187f3f..9739b05ad7501c7f73c1490754d422494aadbda4 100644 |
--- a/src/gpu/GrResourceProvider.cpp |
+++ b/src/gpu/GrResourceProvider.cpp |
@@ -205,8 +205,9 @@ GrStencilAttachment* GrResourceProvider::attachStencilAttachment(GrRenderTarget* |
return rt->renderTargetPriv().getStencilAttachment(); |
} |
-GrRenderTarget* GrResourceProvider::wrapBackendTextureAsRenderTarget( |
- const GrBackendTextureDesc& desc) { |
+sk_sp<GrRenderTarget> GrResourceProvider::wrapBackendTextureAsRenderTarget( |
+ const GrBackendTextureDesc& desc) |
+{ |
if (this->isAbandoned()) { |
return nullptr; |
} |