Index: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
index 9306d2f816d01b260f5203732f517b3d5b06f799..67db1e5b5f6e3c82d52bc2dffa102a6bf956c6a0 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
@@ -86,6 +86,14 @@ namespace {{variant}} { |
#include "{{export_header}}" |
{%- endif %} |
+{#--- Enum hashing #} |
+{%- from "enum_macros.tmpl" import enum_hash_blink%} |
+{%- if for_blink %} |
+{%- for enum in enums %} |
+{{enum_hash_blink(enum)}} |
+{%- endfor %} |
+{%- endif %} |
+ |
{{namespace_begin()}} |
{#--- Enums #} |