Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index 79923a6a53350aee167cb06bf81266676bd61821..59dbf502b78ebf1d113e3ebb7287bd805ba22978 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -208,6 +208,9 @@ public: |
*/ |
bool hasText() const; |
+ /** Returns zero for unsupported implementations. */ |
+ size_t bytesUsed() const; |
mtklein
2014/08/21 17:18:06
I'd perhaps hedge to approximateBytesUsed(), like
|
+ |
private: |
// V2 : adds SkPixelRef's generation ID. |
// V3 : PictInfo tag at beginning, and EOF tag at the end |