Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer.html |
index 3e595a0dd1ee82d1b6ce39de4e56e81f9a9ddd11..a3ab32363746d295f5d9afb4ce1272eb771218ba 100644 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer.html |
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer.html |
@@ -94,7 +94,7 @@ function createOfferSucceeded1(sessionDescription) |
function testExecutionOrderClosedConnection() |
{ |
- var localPeerConnection = new webkitRTCPeerConnection(null, null); |
+ var localPeerConnection = new RTCPeerConnection(); |
localPeerConnection.close(); |
var counter = 0; |
window.events = []; |
@@ -112,7 +112,7 @@ function testExecutionOrderClosedConnection() |
} |
shouldNotThrow('testExecutionOrderClosedConnection()'); |
-pc = new webkitRTCPeerConnection(null); |
+pc = new RTCPeerConnection(); |
shouldNotThrow('pc.createOffer(createOfferSucceeded1, unexpectedCallback, {voiceActivityDetection:true, iceRestart:true, offerToReceiveAudio:1, offerToReceiveVideo:1});'); |
window.jsTestIsAsync = true; |