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

Unified Diff: LayoutTests/webaudio/resources/oscillator-testing.js

Issue 18182009: WaveTable name has changed to PeriodicWave (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix global constructors test Created 7 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: LayoutTests/webaudio/resources/oscillator-testing.js
diff --git a/LayoutTests/webaudio/resources/oscillator-testing.js b/LayoutTests/webaudio/resources/oscillator-testing.js
index 575babaa5452a78db590c5b086c0deb26a84736c..f39fbe9c656a17394b3e2cd06e26bf1265fb3983 100644
--- a/LayoutTests/webaudio/resources/oscillator-testing.js
+++ b/LayoutTests/webaudio/resources/oscillator-testing.js
@@ -35,8 +35,8 @@ function generateExponentialOscillatorSweep(oscillatorType) {
// Note the first values are expected to be zero (DC for coeffA and Nyquist for coeffB).
var coeffA = new Float32Array([0, 1, 0.5]);
var coeffB = new Float32Array([0, 0, 0]);
- var wavetable = context.createWaveTable(coeffA, coeffB);
- osc.setWaveTable(wavetable);
+ var wave = context.createPeriodicWave(coeffA, coeffB);
+ osc.setPeriodicWave(wave);
} else {
osc.type = oscillatorType;
}
« no previous file with comments | « LayoutTests/webaudio/oscillator-custom.html ('k') | LayoutTests/webexposed/global-constructors-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698