Index: tools/dom/scripts/htmldartgenerator.py |
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py |
index 46ba4ba34edb21bce4e63a4c2d33b8cea05b974f..7e37b98be5f0db6a24f673c706d051c27ccb6059 100644 |
--- a/tools/dom/scripts/htmldartgenerator.py |
+++ b/tools/dom/scripts/htmldartgenerator.py |
@@ -327,14 +327,7 @@ class HtmlDartGenerator(object): |
inits.Emit(' if ($E != null) e.$E = $E;\n', E=param_info.name) |
if not constructor_info.pure_dart_constructor: |
- template_file = ('factoryprovider_%s.darttemplate' % self._interface.doc_js_name) |
- template = self._template_loader.TryLoad(template_file) |
- if template: |
- # There is a class specific factory. |
- # TODO(antonm): should move into the class template. |
- self._members_emitter.Emit(template) |
- else: |
- self.EmitStaticFactory(constructor_info) |
+ self.EmitStaticFactory(constructor_info) |
def EmitHelpers(self, base_class): |
pass |