Index: LayoutTests/webaudio/audionode-channel-rules.html |
diff --git a/LayoutTests/webaudio/audionode-channel-rules.html b/LayoutTests/webaudio/audionode-channel-rules.html |
index 768ac3b6ac3890e0349254f2f9420c1a2d17a83b..7dcce636591b8f81e9fcc5907ebcb4af333ce582 100644 |
--- a/LayoutTests/webaudio/audionode-channel-rules.html |
+++ b/LayoutTests/webaudio/audionode-channel-rules.html |
@@ -3,6 +3,7 @@ |
<html> |
<head> |
<script src="../resources/js-test.js"></script> |
+<script src="resources/compatibility.js"></script> |
<script type="text/javascript" src="resources/audio-testing.js"></script> |
</head> |
@@ -282,7 +283,7 @@ function runTest() { |
// Create 8-channel offline audio context. |
// Each test will render 8 sample-frames starting at sample-frame position testNumber * 8. |
var totalFrameLength = numberOfTests * singleTestFrameLength; |
- context = new webkitOfflineAudioContext(renderNumberOfChannels, totalFrameLength, sampleRate); |
+ context = new OfflineAudioContext(renderNumberOfChannels, totalFrameLength, sampleRate); |
// Set destination to discrete mixing. |
context.destination.channelCount = renderNumberOfChannels; |