Index: mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl |
index 1f02481f8dc0eaf61718d7193fef2e3959f54f33..5ded62223c314d37aced79ed2cdd7c1029358d9e 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl |
@@ -1,6 +1,6 @@ |
size_t GetSerializedSize_(const {{struct.name}}Ptr& input); |
void Serialize_({{struct.name}}Ptr input, mojo::internal::Buffer* buffer, |
internal::{{struct.name}}_Data** output); |
-void Deserialize_(internal::{{struct.name}}_Data* input, |
+bool Deserialize_(internal::{{struct.name}}_Data* input, |
{{struct.name}}Ptr* output, |
mojo::internal::SerializationContext* context); |