| Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| index bc849260bf4f0e42076d54b5d390c63ea0cba6dc..bfd68023090764f3e3fd72fa6f884301c4143e76 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| @@ -52,14 +52,14 @@ class {{export_attribute}} {{struct.name}} {
|
| template <typename UserType>
|
| static {{serialization_result_type}} Serialize(UserType* input) {
|
| return mojo::internal::StructSerializeImpl<
|
| - {{struct.name}}Ptr, {{serialization_result_type}}>(input);
|
| + {{struct.name}}::DataView, {{serialization_result_type}}>(input);
|
| }
|
|
|
| template <typename UserType>
|
| static bool Deserialize(const {{serialization_result_type}}& input,
|
| UserType* output) {
|
| return mojo::internal::StructDeserializeImpl<
|
| - {{struct.name}}Ptr, {{serialization_result_type}}>(
|
| + {{struct.name}}::DataView, {{serialization_result_type}}>(
|
| input, output);
|
| }
|
|
|
|
|