Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl |
index 52e2a7cbabc243f52757f6f67beeca8450e9eba0..9eaf47735be75a6bff8c8f0f0bdcfd5fc4b7869c 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl |
@@ -28,28 +28,6 @@ |
} |
{% endif %} |
-{%- set serializer_type = struct|unmapped_type_for_serializer %} |
- |
-size_t GetSerializedSize_({{struct.name}}Ptr& input, |
- mojo::internal::SerializationContext* context) { |
- |
- return mojo::internal::PrepareToSerialize<{{serializer_type}}>( |
- input, context); |
-} |
- |
-void Serialize_({{struct.name}}Ptr input, mojo::internal::Buffer* buf, |
- internal::{{struct.name}}_Data** output, |
- mojo::internal::SerializationContext* context) { |
- mojo::internal::Serialize<{{serializer_type}}>(input, buf, output, context); |
-} |
- |
-bool Deserialize_(internal::{{struct.name}}_Data* input, |
- {{struct.name}}Ptr* output, |
- mojo::internal::SerializationContext* context) { |
- return mojo::internal::Deserialize<{{serializer_type}}>( |
- input, output, context); |
-} |
- |
{{struct.name}}_Reader::{{struct.name}}_Reader( |
internal::{{struct.name}}_Data* data, |
mojo::internal::SerializationContext* context) |