diff options
author | senorblanco <senorblanco@chromium.org> | 2015-03-18 13:14:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-18 13:14:54 -0700 |
commit | 4a22a433bfb972dcd96f76e3d3b0613c26d8fc86 (patch) | |
tree | 6baa43fb84def25632b96bfc011066631183dae2 /include/core/SkPicture.h | |
parent | d803f2731f778317b46da64bce6e7a8a221ffccd (diff) |
Bump picture version for uniqueID-less SkImageFilter.
Remove writing of the uniqueID, and put reading behind a version check.
BUG=skia:3559
Review URL: https://codereview.chromium.org/1010433003
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r-- | include/core/SkPicture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index 346d65bd46..a62bedbfdb 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -243,13 +243,14 @@ private: // V37: Added shadow only option to SkDropShadowImageFilter (last version to record CLEAR) // V38: Added PictureResolution option to SkPictureImageFilter // V39: Added FilterLevel option to SkPictureImageFilter + // V40: Remove UniqueID serialization from SkImageFilter. // 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 // Only SKPs within the min/current picture version range (inclusive) can be read. static const uint32_t MIN_PICTURE_VERSION = 35; // Produced by Chrome M39. - static const uint32_t CURRENT_PICTURE_VERSION = 39; + static const uint32_t CURRENT_PICTURE_VERSION = 40; void createHeader(SkPictInfo* info) const; static bool IsValidPictInfo(const SkPictInfo& info); |