Index: client/dom/scripts/idlrenderer.py |
diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py |
index 0e95040db2a147cc434f0d5273420f4c498f270d..46f90c61edb661054308699831e8359301aaf600 100755 |
--- a/client/dom/scripts/idlrenderer.py |
+++ b/client/dom/scripts/idlrenderer.py |
@@ -57,14 +57,16 @@ def render(idl_node, indent_str=' '): |
end_indent() |
wln('};') |
elif isinstance(node, IDLInterface): |
- w(node.annotations) |
- w(node.ext_attrs) |
+ wln(node.annotations) |
+ wln(node.ext_attrs) |
w('interface %s' % node.id) |
begin_indent() |
+ begin_indent() |
if node.parents: |
wln(' :') |
w(node.parents, ',\n') |
wln(' {') |
+ end_indent() |
if node.constants: |
wln() |
wln('/* Constants */') |