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

Unified Diff: lib/html/scripts/systemhtml.py

Issue 11194029: Provide a correct value for is_optional argument of ParamInfo constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemhtml.py
diff --git a/lib/html/scripts/systemhtml.py b/lib/html/scripts/systemhtml.py
index 6288f741e48926e56d26f09635b3984d5c79f848..05207ceef5fb64a5c49934535cd302f8ee870068 100644
--- a/lib/html/scripts/systemhtml.py
+++ b/lib/html/scripts/systemhtml.py
@@ -82,7 +82,7 @@ class ElementConstructorInfo(object):
info.constructor_name = self.name
info.js_name = None
info.type_name = interface_name
- info.param_infos = map(lambda tXn: ParamInfo(tXn[1], None, tXn[0], 'null'),
+ info.param_infos = map(lambda tXn: ParamInfo(tXn[1], None, tXn[0], True),
self.opt_params)
return info
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698