Index: LayoutTests/webaudio/scriptprocessornode-premature-death.html |
diff --git a/LayoutTests/webaudio/scriptprocessornode-premature-death.html b/LayoutTests/webaudio/scriptprocessornode-premature-death.html |
index 395d10cec9948b052dca34f6d9f44db10a9faf0d..1eafd5c30a2440dce6439782360ea3558f112a96 100644 |
--- a/LayoutTests/webaudio/scriptprocessornode-premature-death.html |
+++ b/LayoutTests/webaudio/scriptprocessornode-premature-death.html |
@@ -1,5 +1,6 @@ |
<!DOCTYPE html> |
<script src="../resources/js-test.js"></script> |
+<script src="resources/compatibility.js"></script> |
<body> |
<script> |
description('Tests that a script processor node is not prematurely GCed'); |
@@ -17,7 +18,7 @@ function test(saveReference, nextStep) { |
'keeping a reference to the script processor node alive.'); |
// Create an audio context |
- var context = new webkitOfflineAudioContext( |
+ var context = new OfflineAudioContext( |
2, // channels |
4096, // length (frames) |
44100.0); // sample rate |