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

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

Issue 667983002: Arity indexing in dart:blink entry points (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « tools/dom/scripts/css_code_generator.py ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmldartgenerator.py
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
index 9cc4124d0783b148d04642c5ad774de973f45db7..6699fd3ca366136b15f2c001b540bc9fa9c890dc 100644
--- a/tools/dom/scripts/htmldartgenerator.py
+++ b/tools/dom/scripts/htmldartgenerator.py
@@ -475,7 +475,7 @@ class HtmlDartGenerator(object):
version, operations[signature_index], argument_count)
def IsOptional(signature_index, argument):
- return is_optional(operations[signature_index], argument)
+ return is_optional(argument)
emitter = self._members_emitter
@@ -589,8 +589,7 @@ class HtmlDartGenerator(object):
if self._dart_use_blink:
type_ids = [p.type.id for p in arguments]
base_name, rs = \
- self.DeriveNativeEntry("constructorCallback", None, type_ids,
- False)
+ self.DeriveNativeEntry("constructorCallback", 'Constructor', argument_count)
qualified_name = \
self.DeriveQualifiedBlinkName(self._interface.id,
base_name)
« no previous file with comments | « tools/dom/scripts/css_code_generator.py ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698