Index: src/gpu/vk/GrVkTextureRenderTarget.h |
diff --git a/src/gpu/vk/GrVkTextureRenderTarget.h b/src/gpu/vk/GrVkTextureRenderTarget.h |
index 225951106612350fc82012f8e189aa3bab23895c..daa168758d3a08f8d8e811350e851d4df42a5860 100644 |
--- a/src/gpu/vk/GrVkTextureRenderTarget.h |
+++ b/src/gpu/vk/GrVkTextureRenderTarget.h |
@@ -28,10 +28,10 @@ public: |
const GrSurfaceDesc&, |
const GrVkImage::ImageDesc&); |
- static GrVkTextureRenderTarget* CreateWrappedTextureRenderTarget(GrVkGpu*, |
- const GrSurfaceDesc&, |
- GrWrapOwnership, |
- const GrVkImageInfo*); |
+ static sk_sp<GrVkTextureRenderTarget> MakeWrappedTextureRenderTarget(GrVkGpu*, |
+ const GrSurfaceDesc&, |
+ GrWrapOwnership, |
+ const GrVkImageInfo*); |
bool updateForMipmap(GrVkGpu* gpu, const GrVkImageInfo& newInfo); |