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

Unified Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

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: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index c73b31b602cd1d937ff75e24098a0f2012f594de..6fd53560c865f23c42a52905f9b6423ffbc47314 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -689,12 +689,14 @@ class AudioNode extends EventTarget {
}
@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);
+ }
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a

Powered by Google App Engine
This is Rietveld 408576698