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

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

Issue 12035022: Minor unification with dart2js bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 4ef1c98b0b2b1778f8a30f7c900dde1d1c496146..81023b6e9e6f869aaf5fe9a42cdac6c3ac2ccbe0 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -471,13 +471,13 @@ class DartiumBackend(HtmlDartGenerator):
else:
template = ' $CALL;\n'
- overload_name = '%s_%s' % (operation.id, version[0])
+ overload_name = '_%s_%s' % (operation.id, version[0])
version[0] += 1
argument_list = ', '.join(parameter_names[:argument_count])
- call = '_%s(%s)' % (overload_name, argument_list)
+ call = '%s(%s)' % (overload_name, argument_list)
body.Emit(template, CHECKS=' && '.join(checks), CALL=call)
- dart_declaration = '%s%s _%s(%s)' % (
+ dart_declaration = '%s%s %s(%s)' % (
'static ' if operation.is_static else '',
self.SecureOutputType(operation.type.id),
overload_name, argument_list)
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698