| Index: tools/dom/scripts/dartgenerator.py
|
| diff --git a/tools/dom/scripts/dartgenerator.py b/tools/dom/scripts/dartgenerator.py
|
| index c07cd0e210fcafdd07ee3de9d78305436c13f6ed..7cb718a4e83c478bcb3e960a36fa314722ff844a 100755
|
| --- a/tools/dom/scripts/dartgenerator.py
|
| +++ b/tools/dom/scripts/dartgenerator.py
|
| @@ -229,7 +229,9 @@ class DartGenerator(object):
|
| ARG = idlnode.IDLArgument([('Type', ('ScopedName', 'object')), ('Id', 'arg')])
|
| for interface in database.GetInterfaces():
|
| for operation in interface.operations:
|
| - call_with = (operation.ext_attrs.get('CallWith', '') +
|
| - operation.ext_attrs.get('ConstructorCallWith', ''))
|
| + call_with = (operation.ext_attrs.get('CallWith', '').split('|') +
|
| + operation.ext_attrs.get('ConstructorCallWith', '').split('|') +
|
| + operation.ext_attrs.get('CallWith', '').split('&') +
|
| + operation.ext_attrs.get('ConstructorCallWith', '').split('&'))
|
| if 'ScriptArguments' in call_with:
|
| operation.arguments.append(ARG)
|
|
|