Index: src/gpu/vk/GrVkTexture.h |
diff --git a/src/gpu/vk/GrVkTexture.h b/src/gpu/vk/GrVkTexture.h |
index 06d147584a35cb50022d769441e70815b9ebec57..70db54838d0b0a8d040bd13ffc66bf1cee18e1d3 100644 |
--- a/src/gpu/vk/GrVkTexture.h |
+++ b/src/gpu/vk/GrVkTexture.h |
@@ -21,8 +21,8 @@ public: |
static GrVkTexture* CreateNewTexture(GrVkGpu*, SkBudgeted budgeted, const GrSurfaceDesc&, |
const GrVkImage::ImageDesc&); |
- static GrVkTexture* CreateWrappedTexture(GrVkGpu*, const GrSurfaceDesc&, |
- GrWrapOwnership, const GrVkImageInfo*); |
+ static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, const GrSurfaceDesc&, |
+ GrWrapOwnership, const GrVkImageInfo*); |
~GrVkTexture() override; |