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

Unified Diff: bindings/dart/scripts/dart_utilities.py

Issue 558803003: Roll IDL Dartium 37 (r181675) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 | « bindings/dart/scripts/dart_methods.py ('k') | core/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/dart/scripts/dart_utilities.py
diff --git a/bindings/dart/scripts/dart_utilities.py b/bindings/dart/scripts/dart_utilities.py
index 38e3899aac92a7ebddcfe4231d999960652017b8..9966323077d9bbc4858580a4dd615b66092c9a48 100644
--- a/bindings/dart/scripts/dart_utilities.py
+++ b/bindings/dart/scripts/dart_utilities.py
@@ -154,11 +154,10 @@ def _generate_native_entry(interface_name, thing, name, kind,
blink_entry = tag
else:
blink_entry = "_%s_%d_Callback" % (name, index)
- native_entry = "%s_%s" % (interface_name, tag)
+ components = [interface_name, tag]
if types is not None:
- count = len(types)
- types = "_".join(types)
- native_entry = "%s_RESOLVER_STRING_%d_%s" % (native_entry, count, types)
+ components.extend(types)
+ native_entry = "_".join(components)
if not is_static and kind != 'Constructor':
args.insert(0, "mthis")
return {'blink_entry': "$" + blink_entry,
« no previous file with comments | « bindings/dart/scripts/dart_methods.py ('k') | core/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698