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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/internals/cycle-connection-gc.html

Issue 2839063003: Implement tail processing for AudioNodes (Closed)
Patch Set: Make declaration order consistent Created 3 years, 5 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: 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>

Powered by Google App Engine
This is Rietveld 408576698