Index: tools/dom/scripts/databasebuilder.py |
diff --git a/tools/dom/scripts/databasebuilder.py b/tools/dom/scripts/databasebuilder.py |
index 96e724d513256fd98215d7c6faae8f1669619ddd..60565a11f3ca7a810f09cf5b9f8ab0f8ffc508a0 100755 |
--- a/tools/dom/scripts/databasebuilder.py |
+++ b/tools/dom/scripts/databasebuilder.py |
@@ -459,6 +459,9 @@ class DatabaseBuilder(object): |
for implStmt in idl_file.implementsStatements: |
self._impl_stmts.append((implStmt, import_options)) |
+ for enum in idl_file.enums: |
+ self._database.AddEnum(enum) |
+ |
def _is_node_enabled(self, node, idl_defines): |
if not 'Conditional' in node.ext_attrs: |