Index: src/core/SkFlattenableSerialization.cpp |
diff --git a/src/core/SkFlattenableSerialization.cpp b/src/core/SkFlattenableSerialization.cpp |
index 748e20a9c273e35024461564d5987346d10db9c8..e9ce09ff1f7f8d4b40b960c4f0435cc0cfe9e02f 100644 |
--- a/src/core/SkFlattenableSerialization.cpp |
+++ b/src/core/SkFlattenableSerialization.cpp |
@@ -20,7 +20,8 @@ |
return data.release(); |
} |
-SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size) { |
+SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size, |
+ SkFlattenable::Type type) { |
SkValidatingReadBuffer buffer(data, size); |
- return buffer.readFlattenable(); |
+ return buffer.readFlattenable(type); |
} |