Index: src/image/SkImage_Base.h |
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h |
index 9e2efe98b5bd8c6a92ac5f2ae1478172ec44d055..ade891f4cb3d54ff9264af8da3a8cc256192c4af 100644 |
--- a/src/image/SkImage_Base.h |
+++ b/src/image/SkImage_Base.h |
@@ -46,7 +46,7 @@ public: |
// Caller must call unref when they are done. |
virtual GrTexture* asTextureRef(GrContext*, const GrTextureParams&) const = 0; |
- virtual SkImage* onNewSubset(const SkIRect&) const = 0; |
+ virtual sk_sp<SkImage> onMakeSubset(const SkIRect&) const = 0; |
// If a ctx is specified, then only gpu-specific formats are requested. |
virtual SkData* onRefEncoded(GrContext*) const { return nullptr; } |