| Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
|
| index 4c4851fa83589eb97defe9d2d8abfb41c4ce40dd..a29a1b7f552a233c4f469e5602e17c2ad94a87b7 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
|
| @@ -30,9 +30,9 @@ bool {{union.name}}::Equals(const T& other) const {
|
| case Tag::{{field.name|upper}}:
|
| {%- if field.kind|is_object_kind or
|
| field.kind|is_any_handle_or_interface_kind %}
|
| - return mojo::internal::Equals(*(data_.{{field.name}}), *(other.data_.{{field.name}}));
|
| + return mojo::Equals(*(data_.{{field.name}}), *(other.data_.{{field.name}}));
|
| {%- else %}
|
| - return mojo::internal::Equals(data_.{{field.name}}, other.data_.{{field.name}});
|
| + return mojo::Equals(data_.{{field.name}}, other.data_.{{field.name}});
|
| {%- endif %}
|
| {%- endfor %}
|
| };
|
|
|