Index: LayoutTests/webaudio/stereo2mono-down-mixing.html |
diff --git a/LayoutTests/webaudio/stereo2mono-down-mixing.html b/LayoutTests/webaudio/stereo2mono-down-mixing.html |
index 575814ea0e7a33b31895ddec1a59b20523d75922..659d038868b5cfd0b653ba302f3b239a74ce5955 100644 |
--- a/LayoutTests/webaudio/stereo2mono-down-mixing.html |
+++ b/LayoutTests/webaudio/stereo2mono-down-mixing.html |
@@ -3,6 +3,7 @@ |
<html> |
<head> |
<script src="../resources/js-test.js"></script> |
+<script src="resources/compatibility.js"></script> |
<script src="resources/audio-testing.js"></script> |
</head> |
@@ -50,7 +51,7 @@ function runTest() { |
window.jsTestIsAsync = true; |
// Create offline audio context, the destination is mono. |
- context = new webkitOfflineAudioContext(1, sampleRate * renderLengthSeconds, sampleRate); |
+ context = new OfflineAudioContext(1, sampleRate * renderLengthSeconds, sampleRate); |
// Create a stereo AudioBuffer. |
toneBuffer = createDataBuffer(context, renderLengthSeconds); |