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

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

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Added ImageFilter derived classes safety checks (retry) Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
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 SkFlattenableSerialization_DEFINED 8 #ifndef SkFlattenableSerialization_DEFINED
9 #define SkFlattenableSerialization_DEFINED 9 #define SkFlattenableSerialization_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 class SkData; 13 class SkData;
14 class SkFlattenable; 14 class SkFlattenable;
15 15
16 SK_API SkData* SkSerializeFlattenable(SkFlattenable*); 16 SK_API SkData* SkSafeSerializeFlattenable(SkFlattenable*);
reed1 2013/09/03 20:25:21 SkValidatingSerializeFlattenables() ? add some do
sugoi1 2013/09/04 18:01:10 Done.
17 SK_API SkFlattenable* SkDeserializeFlattenable(const void* data, size_t size); 17 SK_API SkFlattenable* SkSafeDeserializeFlattenable(const void* data, size_t size );
18 18
19 #endif 19 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698