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

Unified Diff: LayoutTests/webaudio/oscillator-basic.html

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
« no previous file with comments | « no previous file | LayoutTests/webaudio/oscillator-basic-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/oscillator-basic.html
diff --git a/LayoutTests/webaudio/oscillator-basic.html b/LayoutTests/webaudio/oscillator-basic.html
index 020ab733ef1ad414be1f845a693160df2c48977e..f8bc55874cd30cb9c839656d75f33f565ea57dc0 100644
--- a/LayoutTests/webaudio/oscillator-basic.html
+++ b/LayoutTests/webaudio/oscillator-basic.html
@@ -62,10 +62,10 @@ function runTest()
// Now set a custom oscillator
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);
if (osc.type == "custom")
- testPassed("Oscillator correctly set to CUSTOM type using setWaveTable.");
+ testPassed("Oscillator correctly set to CUSTOM type using setPeriodicWave.");
else
testFailed("Oscillator set to CUSTOM type, but returns " + oscTypes[osc.type].name + " type.");
« no previous file with comments | « no previous file | LayoutTests/webaudio/oscillator-basic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698