Chromium Code Reviews| Index: include/utils/SkPictureUtils.h |
| diff --git a/include/utils/SkPictureUtils.h b/include/utils/SkPictureUtils.h |
| index c35e1c74090996c8daf1f71f96b4966ef15f7616..8cefbc349968ae5bc869e3f7e1faf1cdde06ae3c 100644 |
| --- a/include/utils/SkPictureUtils.h |
| +++ b/include/utils/SkPictureUtils.h |
| @@ -78,6 +78,9 @@ public: |
| * and rect information. |
| */ |
| static void GatherPixelRefsAndRects(SkPicture* pict, SkPixelRefContainer* prCont); |
| + |
| + /** May return zero if the SkPicture implementation doesn't support counting. */ |
| + static size_t approximateBytesUsed(const SkPicture* pict); |
|
reed1
2014/11/17 21:32:26
nit: Skia Static Methods Are Capitalized.
"Used"?
tomhudson
2014/11/17 22:12:15
Done.
|
| }; |
| #endif |