diff --git a/test/sanity_check/www/html/webrtc_test.html b/test/sanity_check/www/html/webrtc_test.html
index e8b0c60c67..09ce8c64c7 100644
--- a/test/sanity_check/www/html/webrtc_test.html
+++ b/test/sanity_check/www/html/webrtc_test.html
@@ -238,7 +238,7 @@ function createPeerConnection() {
}
trace("Creating PeerConnection object");
try {
- pc = new webkitPeerConnection("STUN stun.l.google.com:19302",
+ pc = new webkitDeprecatedPeerConnection("STUN stun.l.google.com:19302",
onSignalingMessage);
pc.onaddstream = onAddStream;
pc.onremovestream = onRemoveStream;