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; |