Index: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl |
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl |
index 9f6f02f0d8a525d480effd45bccce100619bfbfc..c9ea5d0199b1e61d85b979c299b8524c1d27bb87 100644 |
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl |
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl |
@@ -34,7 +34,7 @@ bool {{class_name}}::Validate(const void* data, |
{%- endfor %} |
default: |
ReportValidationError( |
- mojo::internal::VALIDATION_ERROR_UNKOWN_UNION_TAG, |
+ mojo::internal::VALIDATION_ERROR_UNKNOWN_UNION_TAG, |
"unknown tag in {{union.name}}"); |
return false; |
} |