| Index: tools/dom/scripts/dartgenerator.py
|
| diff --git a/tools/dom/scripts/dartgenerator.py b/tools/dom/scripts/dartgenerator.py
|
| index 5954d4e2c3b595187e78c4f76d2ec5c92b56ba70..58ce4f61094bd1efcf1e1128a0d4ad112af07d11 100755
|
| --- a/tools/dom/scripts/dartgenerator.py
|
| +++ b/tools/dom/scripts/dartgenerator.py
|
| @@ -214,6 +214,8 @@ class DartGenerator(object):
|
| for interface in database.GetInterfaces():
|
| for operation in interface.operations:
|
| call_with = (operation.ext_attrs.get('CallWith', '').split('|') +
|
| - operation.ext_attrs.get('ConstructorCallWith', '').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)
|
|
|