Index: src/gpu/vk/GrVkRenderTarget.h |
diff --git a/src/gpu/vk/GrVkRenderTarget.h b/src/gpu/vk/GrVkRenderTarget.h |
index e3ebefba5ada53ca98b3bd6641b3ed838f44e42c..0855a6d02000650ab9975c79295026a116047dce 100644 |
--- a/src/gpu/vk/GrVkRenderTarget.h |
+++ b/src/gpu/vk/GrVkRenderTarget.h |
@@ -34,9 +34,9 @@ public: |
static GrVkRenderTarget* CreateNewRenderTarget(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, |
const GrVkImage::ImageDesc&); |
- static GrVkRenderTarget* CreateWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&, |
- GrWrapOwnership, |
- const GrVkImageInfo*); |
+ static sk_sp<GrVkRenderTarget> MakeWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&, |
+ GrWrapOwnership, |
+ const GrVkImageInfo*); |
~GrVkRenderTarget() override; |