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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/wrapper_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
Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl
index feb861569fd766f5394c25764de2bb85d1253162..0ab7f27e288c4dec6d843acf22a8b4d43f43a6d4 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl
@@ -13,7 +13,7 @@ template <typename T,
T, {{struct.name}}>::value>::type*>
bool {{struct.name}}::Equals(const T& other) const {
{%- for field in struct.fields %}
- if (!mojo::internal::Equals(this->{{field.name}}, other.{{field.name}}))
+ if (!mojo::Equals(this->{{field.name}}, other.{{field.name}}))
return false;
{%- endfor %}
return true;

Powered by Google App Engine
This is Rietveld 408576698