Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: include/core/SkPicture.h

Issue 1918433002: Optionally enable SkValidatingReadBuffer in SkPictureImageFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More clean up Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPicture_DEFINED 8 #ifndef SkPicture_DEFINED
9 #define SkPicture_DEFINED 9 #define SkPicture_DEFINED
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 static_assert(MIN_PICTURE_VERSION <= 41, 215 static_assert(MIN_PICTURE_VERSION <= 41,
216 "Remove kFontFileName and related code from SkFontDescriptor.c pp."); 216 "Remove kFontFileName and related code from SkFontDescriptor.c pp.");
217 217
218 static_assert(MIN_PICTURE_VERSION <= 42, 218 static_assert(MIN_PICTURE_VERSION <= 42,
219 "Remove COMMENT API handlers from SkPicturePlayback.cpp"); 219 "Remove COMMENT API handlers from SkPicturePlayback.cpp");
220 220
221 static_assert(MIN_PICTURE_VERSION <= 43, 221 static_assert(MIN_PICTURE_VERSION <= 43,
222 "Remove SkBitmapSourceDeserializer."); 222 "Remove SkBitmapSourceDeserializer.");
223 223
224 static bool IsValidPictInfo(const SkPictInfo& info); 224 static bool IsValidPictInfo(const SkPictInfo& info);
225 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, const SkPictureData*) ; 225 static sk_sp<SkPicture> Forwardport(const SkPictInfo&,
226 const SkPictureData*,
227 const SkReadBuffer* buffer);
226 228
227 SkPictInfo createHeader() const; 229 SkPictInfo createHeader() const;
228 SkPictureData* backport() const; 230 SkPictureData* backport() const;
229 231
230 mutable uint32_t fUniqueID; 232 mutable uint32_t fUniqueID;
231 }; 233 };
232 234
233 #endif 235 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698