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/current picture version range (inclusive) can be read. |
+ static const uint32_t MIN_PICTURE_VERSION = 19; |
+ static const uint32_t CURRENT_PICTURE_VERSION = 20; |
+ |
// 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 |