Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1292)

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl

Issue 2837353002: mojo: Make EqualsTraits<> part of public C++ API (Closed)
Patch Set: fix build Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 %}
};
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698