Index: src/image/SkSurface_Gpu.h |
diff --git a/src/image/SkSurface_Gpu.h b/src/image/SkSurface_Gpu.h |
index 72e9caf4629e27c0486c4a0818fc625935bdaa92..1e76f26c2a3c86e4753722c08019079b8a675fe3 100644 |
--- a/src/image/SkSurface_Gpu.h |
+++ b/src/image/SkSurface_Gpu.h |
@@ -22,8 +22,8 @@ public: |
GrBackendObject onGetTextureHandle(BackendHandleAccess) override; |
bool onGetRenderTargetHandle(GrBackendObject*, BackendHandleAccess) override; |
SkCanvas* onNewCanvas() override; |
- SkSurface* onNewSurface(const SkImageInfo&) override; |
- SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) override; |
+ sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override; |
+ sk_sp<SkImage> onNewImageSnapshot(SkBudgeted, ForceCopyMode) override; |
void onCopyOnWrite(ContentChangeMode) override; |
void onDiscard() override; |
void onPrepareForExternalIO() override; |