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

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

Issue 22357003: MERGE: 152953-155080 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/idl/dart/dart.idl ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698