Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: tools/dom/scripts/htmldartgenerator.py

Issue 11719003: Nuke custom factory providers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebaselining Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698