| 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 2bd7ceb337dbfb7f7fef8fdc0158b68060132605..0bb1cda14b5a6917971ebe470edf935e6bc7de2b 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
|
| @@ -13,17 +13,3 @@
|
|
|
| {{struct.name}}::~{{struct.name}}() {
|
| }
|
| -
|
| -{% if struct|is_cloneable_kind %}
|
| -{{struct.name}}Ptr {{struct.name}}::Clone() const {
|
| - {{struct.name}}Ptr rv(New());
|
| -{%- for field in struct.fields %}
|
| -{%- if field.kind|is_object_kind and not field.kind|is_string_kind %}
|
| - rv->{{field.name}} = {{field.name}}.Clone();
|
| -{%- else %}
|
| - rv->{{field.name}} = {{field.name}};
|
| -{%- endif %}
|
| -{%- endfor %}
|
| - return rv;
|
| -}
|
| -{% endif %}
|
|
|