aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-08 12:45:52 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-08 18:23:19 +0000
commit70bc94f273224ed0755ae11dc479c57ff37e0436 (patch)
treef25bc45fd7e882d3baee4b3640b82b881d45ae23 /include
parentbc2cdd154bf5a031ca9d3a530123d9f7a4c0925d (diff)
Bump min picture to 7+ months ago
Delete lots of support code, including need for SkXfermode objects which are no longer used anywhere else. Bug: skia: Change-Id: Id6b7ef0f529691041ff2b206c35e336e8a4c974d Reviewed-on: https://skia-review.googlesource.com/19059 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPicture.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 70f2acb6ab..9f14f80a17 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -203,24 +203,9 @@ private:
// V53: SaveLayerRec clip mask
// 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 MIN_PICTURE_VERSION = 51; // Produced by Chrome ~M56.
static const uint32_t CURRENT_PICTURE_VERSION = 53;
- static_assert(MIN_PICTURE_VERSION <= 41,
- "Remove kFontFileName and related code from SkFontDescriptor.cpp.");
-
- static_assert(MIN_PICTURE_VERSION <= 42,
- "Remove COMMENT API handlers from SkPicturePlayback.cpp");
-
- static_assert(MIN_PICTURE_VERSION <= 43,
- "Remove SkBitmapSourceDeserializer.");
-
- static_assert(MIN_PICTURE_VERSION <= 45,
- "Remove decoding of old SkTypeface::Style from SkFontDescriptor.cpp.");
-
- static_assert(MIN_PICTURE_VERSION <= 48,
- "Remove legacy gradient deserialization code from SkGradientShader.cpp.");
-
static bool IsValidPictInfo(const SkPictInfo& info);
static sk_sp<SkPicture> Forwardport(const SkPictInfo&,
const SkPictureData*,