Index: src/image/SkImage_Gpu.h |
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h |
index c640322a6531cebaa15e96424e43311da7251487..8f59af14a4681d9225f6d5220aaf0bf334652e20 100644 |
--- a/src/image/SkImage_Gpu.h |
+++ b/src/image/SkImage_Gpu.h |
@@ -35,7 +35,7 @@ public: |
bool getROPixels(SkBitmap*, CachingHint) const override; |
GrTexture* asTextureRef(GrContext* ctx, const GrTextureParams& params) const override; |
- SkImage* onNewSubset(const SkIRect&) const override; |
+ sk_sp<SkImage> onMakeSubset(const SkIRect&) const override; |
GrTexture* peekTexture() const override { return fTexture; } |
bool isOpaque() const override; |