Index: sdk/lib/html/scripts/systemhtml.py |
diff --git a/sdk/lib/html/scripts/systemhtml.py b/sdk/lib/html/scripts/systemhtml.py |
index 2b470bb23b4be5c87879fbf3fadc30065e8106fc..7f5e2f1a733f87bb1ddb1a2ac219a0056a2608a8 100644 |
--- a/sdk/lib/html/scripts/systemhtml.py |
+++ b/sdk/lib/html/scripts/systemhtml.py |
@@ -276,6 +276,8 @@ class HtmlDartInterfaceGenerator(object): |
code = self._library_emitter.FileEmitter(self._interface.id, |
self._library_name) |
code.Emit(self._template_loader.Load('callback.darttemplate')) |
+ |
+ typedef_name = self._renamer.RenameInterface(self._interface) |
code.Emit('typedef void $NAME($PARAMS);\n', |
NAME=self._interface.id, |
PARAMS=info.ParametersDeclaration(self._DartType)) |