Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 120c397e82ea7efb61c233458c9994960f235a0d..51bc6f03e2930d9a60a25aebf155a77315ca2412 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -93,6 +93,10 @@ public: |
SkASSERT(fBitmap.isImmutable()); |
} |
+ bool onIsLazyGenerated() const override { |
+ return fBitmap.pixelRef() && fBitmap.pixelRef()->isLazyGenerated(); |
+ } |
+ |
private: |
SkImage_Raster() : INHERITED(0, 0, kNeedNewImageUniqueID, NULL) { |
fBitmap.setImmutable(); |