| Index: mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl
|
| index bab90452272118fc97c38940eb5cf8887b0ff54a..f04e16bd4f7db68856cd11d5487a461d1918e85b 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl
|
| @@ -7,7 +7,7 @@ template <typename MojomType>
|
| struct UnionSerializerImpl;
|
|
|
| template <>
|
| -struct UnionSerializerImpl<{{mojom_type}}Ptr> {
|
| +struct {{export_attribute}} UnionSerializerImpl<{{mojom_type}}Ptr> {
|
| static size_t PrepareToSerialize({{mojom_type}}Ptr& input,
|
| bool inlined,
|
| SerializationContext* context);
|
| @@ -24,7 +24,7 @@ struct UnionSerializerImpl<{{mojom_type}}Ptr> {
|
| };
|
|
|
| template <typename MaybeConstUserType>
|
| -struct Serializer<{{mojom_type}}Ptr, MaybeConstUserType>
|
| +struct {{export_attribute}} Serializer<{{mojom_type}}Ptr, MaybeConstUserType>
|
| : public UnionSerializerImpl<{{mojom_type}}Ptr> {
|
| using UserType = typename std::remove_const<MaybeConstUserType>::type;
|
|
|
|
|