Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index a8ef21d1da90a747b403a5a459030ac4450810bc..3b734b17aa0d65870a78f129b6b0d19ff8d1759a 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -80,6 +80,8 @@ public: |
bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const override; |
bool onPeekPixels(SkPixmap*) const override; |
+ const SkBitmap* onPeekBitmap() const override { return &fBitmap; } |
+ |
SkData* onRefEncoded(GrContext*) const override; |
bool getROPixels(SkBitmap*, CachingHint) const override; |
GrTexture* asTextureRef(GrContext*, const GrTextureParams&, |