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

Unified Diff: include/core/SkFlattenable.h

Issue 1837913003: Add support for serializing/deserializing of SkDrawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add ability to specify custom flattenable factories on SkReadBuffer Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: include/core/SkFlattenable.h
diff --git a/include/core/SkFlattenable.h b/include/core/SkFlattenable.h
index 10cba1a2ec293916d16c711b757e726fe1dd63d0..f2576f280d5fd26c7accc2d0a5fce1698b1311d4 100644
--- a/include/core/SkFlattenable.h
+++ b/include/core/SkFlattenable.h
@@ -71,6 +71,7 @@ class SK_API SkFlattenable : public SkRefCnt {
public:
enum Type {
kSkColorFilter_Type,
+ kSkDrawable_Type,
reed1 2016/03/31 18:42:05 do we ever serialize this enum, in which case renu
msarett 2016/04/01 14:11:44 No we don't serialize the enums. They don't do mu
kSkDrawLooper_Type,
kSkImageFilter_Type,
kSkMaskFilter_Type,

Powered by Google App Engine
This is Rietveld 408576698