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

Unified Diff: tools/dom/templates/html/impl/impl_AudioNode.darttemplate

Issue 2118633002: Don't use => on void functions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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
Index: tools/dom/templates/html/impl/impl_AudioNode.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate
index 43db4b3ec890e678229b7aff458e9ee2de590eb9..e5ba37a0152c2cc67734a39fa9a72d95eb873310 100644
--- a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate
+++ b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate
@@ -7,10 +7,12 @@ part of web_audio;
$(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS {
$!MEMBERS
@DomName('AudioNode.connect')
- void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
- _connect(destination, output, input);
+ void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
+ _connect(destination, output, input);
+ }
@DomName('AudioNode.connect')
- void connectParam(AudioParam destination, [int output = 0]) =>
- _connect(destination, output);
+ void connectParam(AudioParam destination, [int output = 0]) {
+ _connect(destination, output);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698