Index: third_party/mojo/src/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
index c979f59434ba74a58c054c44f5dc602af0e6ddca..21c70db3038ed615f53482f0dd94e90ae99b628a 100644 |
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
@@ -37,13 +37,3 @@ |
{% endif %} |
} |
{%- endmacro -%} |
- |
-{%- macro union_descriptor(union) -%} |
-{ |
- 'fields': [ |
-{% for field in union.fields %} |
- {{field|union_field_descriptor}}, |
-{% endfor %} |
- ], |
- } |
-{%- endmacro -%} |