Index: LayoutTests/webaudio/gain-basic.html |
diff --git a/LayoutTests/webaudio/gain-basic.html b/LayoutTests/webaudio/gain-basic.html |
index 4d47970e1be4db349bb226356330b430f4727af7..b18537beac0efbf929a626f8583e0b8a9f4d4ec6 100644 |
--- a/LayoutTests/webaudio/gain-basic.html |
+++ b/LayoutTests/webaudio/gain-basic.html |
@@ -7,6 +7,7 @@ Verifies GainNode attributes and their type. |
<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> |
@@ -21,7 +22,7 @@ function runTest() { |
} |
// Create audio context. |
- var context = new webkitAudioContext(); |
+ var context = new AudioContext(); |
// Create gain node. |
var gainNode = context.createGain(); |