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

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

Issue 904663005: Revert "Annotate dart:html constructor expressions with precise non-nullable types." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | « tools/dom/scripts/htmldartgenerator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « tools/dom/scripts/htmldartgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698