| Index: third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html b/third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html
|
| index caa12aad9a6353dafe4c02a98736c44efc908652..b06f8ba439e06311405844881a2ff2c97a0714ef 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html
|
| @@ -21,12 +21,12 @@
|
|
|
| function createCycle() {
|
| let source = context.createBufferSource();
|
| - let delay1 = context.createDelay();
|
| - let delay2 = context.createDelay();
|
| - source.connect(delay1);
|
| - delay1.connect(delay2);
|
| - delay2.connect(delay1);
|
| - delay1.connect(context.destination);
|
| + let gain1 = context.createGain();
|
| + let gain2 = context.createGain();
|
| + source.connect(gain1);
|
| + gain1.connect(gain2);
|
| + gain2.connect(gain1);
|
| + gain1.connect(context.destination);
|
| }
|
| </script>
|
| </body>
|
|
|