Index: include/core/SkPicture.h |
=================================================================== |
--- include/core/SkPicture.h (revision 13567) |
+++ include/core/SkPicture.h (working copy) |
@@ -242,8 +242,11 @@ |
// Note: If the picture version needs to be increased then please follow the |
// steps to generate new SKPs in (only accessible to Googlers): http://goo.gl/qATVcw |
- static const uint32_t PICTURE_VERSION = 20; |
+ // Only SKPs within the min/max picture version range (inclusive) can be read. |
+ static const uint32_t MIN_PICTURE_VERSION = 20; |
+ static const uint32_t MAX_PICTURE_VERSION = 20; // the current version |
bsalomon
2014/02/24 19:52:49
How about calling it CURRENT_PICTURE_VERSION? Seem
robertphillips
2014/02/24 19:56:13
Done.
|
+ |
// fPlayback, fRecord, fWidth & fHeight are protected to allow derived classes to |
// install their own SkPicturePlayback-derived players,SkPictureRecord-derived |
// recorders and set the picture size |