| 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 e75543f14eb3cee51949ab24509796225847e8d9..ab8c22d49cd2db24e0515f8b000c6b840ad737b1 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
|
| @@ -31,3 +31,9 @@ size_t {{struct.name}}::Hash(size_t seed) const {
|
| return seed;
|
| }
|
| {%- endif %}
|
| +
|
| +bool {{struct.name}}::Validate(
|
| + const void* data,
|
| + mojo::internal::ValidationContext* validation_context) {
|
| + return Data_::Validate(data, validation_context);
|
| +}
|
|
|