Index: mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl |
index 677348658fc903872f904d6d5397941fc28d5aa6..36047637e7acdf4deb90bf675656ffd7ac8fd490 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl |
@@ -1,6 +1,6 @@ |
size_t GetSerializedSize_(const {{union.name}}Ptr& input, bool inlined); |
void SerializeUnion_({{union.name}}Ptr input, mojo::internal::Buffer* buffer, |
internal::{{union.name}}_Data** output, bool inlined); |
-void Deserialize_(internal::{{union.name}}_Data* input, |
+bool Deserialize_(internal::{{union.name}}_Data* input, |
{{union.name}}Ptr* output, |
mojo::internal::SerializationContext* context); |