aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPicture.h')
-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*,