Index: LayoutTests/webaudio/audioparam-connect-audioratesignal.html |
diff --git a/LayoutTests/webaudio/audioparam-connect-audioratesignal.html b/LayoutTests/webaudio/audioparam-connect-audioratesignal.html |
index 2a3dfbd04d68d64ef781e83df514b65f25206f79..f2619593f7a21251ed7b442bf562a59eb10fa6be 100644 |
--- a/LayoutTests/webaudio/audioparam-connect-audioratesignal.html |
+++ b/LayoutTests/webaudio/audioparam-connect-audioratesignal.html |
@@ -11,6 +11,7 @@ Thus it's easy to check that the resultant signal should be equal to the gain-sc |
<html> |
<head> |
+<script src="resources/compatibility.js"></script> |
<script src="resources/audio-testing.js"></script> |
<script src="../resources/js-test.js"></script> |
@@ -68,7 +69,7 @@ function runTest() { |
var sampleFrameLength = sampleRate * lengthInSeconds; |
// Create offline audio context. |
- context = new webkitOfflineAudioContext(1, sampleFrameLength, sampleRate); |
+ context = new OfflineAudioContext(1, sampleFrameLength, sampleRate); |
// Create buffer used by the source which will have its gain controlled. |
constantOneBuffer = createConstantBuffer(context, sampleFrameLength, 1); |