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

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

Issue 1349293006: Start using the dart2js type conversions in Dartium as well. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged Created 5 years, 3 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/generator.py ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 38a9ec025fb4bde64e5dc563a12034ee68f998d3..7177bc5cb871e2154995007a593a453633815b8e 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -1195,7 +1195,8 @@ class DartiumBackend(HtmlDartGenerator):
parameters = info.ParametersAsListOfVariables(None,
self._type_registry if self._dart_use_blink else None,
- dart_js_interop)
+ dart_js_interop,
+ self)
dart_declaration = '%s%s %s(%s)' % (
'static ' if info.IsStatic() else '',
return_type,
@@ -1258,7 +1259,8 @@ class DartiumBackend(HtmlDartGenerator):
native_suffix = 'Callback'
actuals = info.ParametersAsListOfVariables(argument_count,
self._type_registry if self._dart_use_blink else None,
- self._dart_js_interop)
+ self._dart_js_interop,
+ self)
actuals_s = ", ".join(actuals)
formals=actuals
return_type = self.SecureOutputType(operation.type.id)
« no previous file with comments | « tools/dom/scripts/generator.py ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698