| 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;
|
| }
|
|
|