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

Unified Diff: client/dom/scripts/databasebuilder.py

Issue 9418008: Update DOM scripts after recent webkit merge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « client/dom/scripts/dartgenerator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/databasebuilder.py
diff --git a/client/dom/scripts/databasebuilder.py b/client/dom/scripts/databasebuilder.py
index 30d4e05b1e0cbf3efefd3176e9012ecfaa50815b..81d104682d64660c57c4a72805cd71b3f7db09d3 100755
--- a/client/dom/scripts/databasebuilder.py
+++ b/client/dom/scripts/databasebuilder.py
@@ -129,7 +129,7 @@ class DatabaseBuilder(object):
if argument.is_optional:
if 'Optional' in argument.ext_attrs:
optional_value = argument.ext_attrs['Optional']
- if optional_value == 'CallWithDefaultValue':
+ if optional_value:
if (interface.id, op.id, argument.id) not in optional_argument_whitelist:
argument.is_optional = False
del argument.ext_attrs['Optional']
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698