Index: mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl |
index 12898471bdb165ce35f659fbc00cc6d23f5e3f7f..472d04f1134ceee5813bd977924cd53f43c85dd6 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl |
@@ -74,8 +74,8 @@ |
{%- endif %} |
{%- if kind|is_array_kind or kind|is_map_kind %} |
- const mojo::internal::ArrayValidateParams {{name}}_validate_params( |
- {{kind|get_array_validate_params_ctor_args|indent(10)}}); |
+ const mojo::internal::ContainerValidateParams {{name}}_validate_params( |
+ {{kind|get_container_validate_params_ctor_args|indent(10)}}); |
mojo::internal::Serialize<{{serializer_type}}>( |
{{input_field}}, {{buffer}}, &{{output}}->{{name}}.ptr, |
&{{name}}_validate_params, {{context}}); |