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

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

Issue 10107010: Map IDBAny and IDBKey to Dynamic (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « lib/dom/scripts/systeminterface.py ('k') | lib/dom/scripts/systemwrapping.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemnative.py
diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
index 50538c10babb63b7237f1b8b8884b11398a11b61..f43fe7bfeb2a0c8513c2340c946fe044af8a8982 100644
--- a/lib/dom/scripts/systemnative.py
+++ b/lib/dom/scripts/systemnative.py
@@ -567,7 +567,7 @@ class NativeImplementationGenerator(systemwrapping.WrappingInterfaceGenerator):
if 'Custom' in info.overloads[0].ext_attrs:
parameters = info.ParametersImplementationDeclaration()
dart_declaration = '%s %s(%s)' % (info.type_name, info.name, parameters)
- argument_count = 1 + len(info.arg_infos)
+ argument_count = 1 + len(info.param_infos)
self._GenerateNativeBinding(info.name, argument_count, dart_declaration,
'Callback', True)
return
@@ -604,7 +604,7 @@ class NativeImplementationGenerator(systemwrapping.WrappingInterfaceGenerator):
native_name = info.name
if self._native_version > 1:
native_name = '%s_%s' % (native_name, self._native_version)
- argument_list = ', '.join([info.arg_infos[i][0]
+ argument_list = ', '.join([info.param_infos[i].name
for (i, arg) in enumerate(operation.arguments)])
# Generate dispatcher.
« no previous file with comments | « lib/dom/scripts/systeminterface.py ('k') | lib/dom/scripts/systemwrapping.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698