Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl |
index f4aa314fae9e1987503f7f92388102120e797809..a26601e72ff92f63404e38c43018402c9d015e15 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl |
@@ -4,7 +4,7 @@ template <typename StructPtrType> |
// without being asked. |
StructPtrType rv(New()); |
{%- for field in struct.fields %} |
- rv->{{field.name}} = mojo::internal::Clone({{field.name}}); |
+ rv->{{field.name}} = mojo::Clone({{field.name}}); |
{%- endfor %} |
return rv; |
} |