Index: src/image/SkImage_Generator.cpp |
diff --git a/src/image/SkImage_Generator.cpp b/src/image/SkImage_Generator.cpp |
index fbde92da663f8fb51d61f36b43103bca6df36c6d..6671dcd3b142d9d606e6d234c09dc9b9d063e5b7 100644 |
--- a/src/image/SkImage_Generator.cpp |
+++ b/src/image/SkImage_Generator.cpp |
@@ -23,6 +23,7 @@ public: |
bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const override; |
const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const override; |
+ SkImageCacherator* peekCacherator() const override { return fCache; } |
SkData* onRefEncoded() const override; |
bool isOpaque() const override { return fCache->info().isOpaque(); } |
SkImage* onNewSubset(const SkIRect&) const override; |