Index: tools/dom/scripts/dartgenerator.py |
diff --git a/tools/dom/scripts/dartgenerator.py b/tools/dom/scripts/dartgenerator.py |
index 12c9c83230fa2aa7bb11d60d1e032c4efddd3cca..fdac363518c8b48a7f918e11d908944335e11d5c 100755 |
--- a/tools/dom/scripts/dartgenerator.py |
+++ b/tools/dom/scripts/dartgenerator.py |
@@ -47,6 +47,9 @@ class DartGenerator(object): |
if database.HasInterface(stripped_type_name): |
return True |
+ if database.HasEnum(stripped_type_name): |
+ return True |
+ |
dart_template_match = self._dart_templates_re.match(type_name) |
if dart_template_match: |
# Dart templates |