| 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.
|
|
|