Index: tools/dom/scripts/systemhtml.py |
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py |
index e0e4203f65e994f990c613bc9c55aa48f9f0b4db..91d385e35b1f6d1a76f8b0dfb5baae312ade2614 100644 |
--- a/tools/dom/scripts/systemhtml.py |
+++ b/tools/dom/scripts/systemhtml.py |
@@ -727,16 +727,6 @@ class Dart2JSBackend(HtmlDartGenerator): |
def IsConstructorArgumentOptional(self, argument): |
return argument.optional |
- def FactoryConstructorExpression(self, constructor_info, |
- factory_name, factory_constructor_name, factory_parameters): |
- expression = super(Dart2JSBackend, self).FactoryConstructorExpression( |
- constructor_info, factory_name, factory_constructor_name, |
- factory_parameters) |
- return emitter.Format( |
- "JS('$TYPE', '#', $VALUE)", |
- TYPE=self._DartType(constructor_info.type_name), |
- VALUE=expression) |
- |
def EmitStaticFactoryOverload(self, constructor_info, name, arguments): |
index = len(arguments) |
arguments = constructor_info.ParametersAsArgumentList(index) |