Index: src/image/SkImage_Base.h |
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h |
index 38f99064a0266371ac7653e2baa14d4fcbd82ea0..46cd3de3dbdde6b608da9425172831fcf85135d0 100644 |
--- a/src/image/SkImage_Base.h |
+++ b/src/image/SkImage_Base.h |
@@ -60,7 +60,7 @@ public: |
virtual SkShader* onNewShader(SkShader::TileMode, |
SkShader::TileMode, |
- const SkMatrix* localMatrix) const { return NULL; }; |
+ const SkMatrix* localMatrix) const { return NULL; } |
// newWidth > 0, newHeight > 0, subset either NULL or a proper subset of this bounds |
virtual SkImage* onNewImage(int newWidth, int newHeight, const SkIRect* subset, |
@@ -69,6 +69,8 @@ public: |
virtual bool onAsLegacyBitmap(SkBitmap*, LegacyBitmapMode) const; |
+ virtual bool onIsLazyGenerated() const { return false; } |
+ |
private: |
const SkSurfaceProps fProps; |