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

Unified Diff: client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart

Issue 9167039: WebKit refresh (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 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
Index: client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart b/client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
index 1ebdf7795f02a298d62cc2c96b37abb296efecb7..9b0400086617767f37e651206725464142b652a4 100644
--- a/client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
@@ -20,38 +20,17 @@ class _AudioNodeWrappingImplementation extends DOMWrapperBase implements AudioNo
int get numberOfOutputs() { return _get_numberOfOutputs(this); }
static int _get_numberOfOutputs(var _this) native;
- void connect(AudioNode destination, [int output = null, int input = null]) {
- if (output === null) {
- if (input === null) {
- _connect(this, destination);
- return;
- }
- } else {
- if (input === null) {
- _connect_2(this, destination, output);
- return;
- } else {
- _connect_3(this, destination, output, input);
- return;
- }
- }
- throw "Incorrect number or type of arguments";
+ void connect(AudioNode destination, int output, int input) {
+ _connect(this, destination, output, input);
+ return;
}
- static void _connect(receiver, destination) native;
- static void _connect_2(receiver, destination, output) native;
- static void _connect_3(receiver, destination, output, input) native;
-
- void disconnect([int output = null]) {
- if (output === null) {
- _disconnect(this);
- return;
- } else {
- _disconnect_2(this, output);
- return;
- }
+ static void _connect(receiver, destination, output, input) native;
+
+ void disconnect(int output) {
+ _disconnect(this, output);
+ return;
}
- static void _disconnect(receiver) native;
- static void _disconnect_2(receiver, output) native;
+ static void _disconnect(receiver, output) native;
String get typeName() { return "AudioNode"; }
}

Powered by Google App Engine
This is Rietveld 408576698