Index: include/gpu/GrTextureProvider.h |
diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h |
index e013bfff0fa74d331ce78db40836a6ee7e243bbc..efecc963588d2894be29c80e9fe2ee4a735f2630 100644 |
--- a/include/gpu/GrTextureProvider.h |
+++ b/include/gpu/GrTextureProvider.h |
@@ -98,8 +98,8 @@ public: |
* |
* @return GrTexture object or NULL on failure. |
*/ |
- GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc, |
- GrWrapOwnership = kBorrow_GrWrapOwnership); |
+ sk_sp<GrTexture> wrapBackendTexture(const GrBackendTextureDesc& desc, |
+ GrWrapOwnership = kBorrow_GrWrapOwnership); |
/** |
* Wraps an existing render target with a GrRenderTarget object. It is |
@@ -110,7 +110,7 @@ public: |
* |
* @return GrRenderTarget object or NULL on failure. |
*/ |
- GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc); |
+ sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc); |
protected: |
GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner); |