Index: sdk/lib/html/scripts/systemhtml.py |
diff --git a/sdk/lib/html/scripts/systemhtml.py b/sdk/lib/html/scripts/systemhtml.py |
index 345a3f18c612ff54d74c8384e3d8ec427de51ae0..29c1949dd742999283a867bafe0d81975516ebef 100644 |
--- a/sdk/lib/html/scripts/systemhtml.py |
+++ b/sdk/lib/html/scripts/systemhtml.py |
@@ -425,7 +425,7 @@ class Dart2JSBackend(HtmlDartGenerator): |
return self._template_loader.Load('pure_interface.darttemplate') |
template_file = ('impl_%s.darttemplate' % |
- self._interface_type_info.interface_name()) |
+ self._interface.doc_js_name) |
return (self._template_loader.TryLoad(template_file) or |
self._template_loader.Load('dart2js_impl.darttemplate')) |