Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
index 87ed1c7a2417deb59682cbc8b0855aef661c020f..21e7dc602725f9fc3b1d8748114e6c073499a167 100644 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
@@ -88,7 +88,7 @@ function pc_onicechange() { |
} |
} |
-pc = new webkitRTCPeerConnection(null, null); |
+pc = new RTCPeerConnection(); |
shouldNotThrow('dc = pc.createDataChannel("label1");'); |
shouldBe("dc.reliable", "true"); |
shouldNotThrow('dc = pc.createDataChannel("label2", {});'); |
@@ -102,7 +102,7 @@ shouldBe("dc.reliable", "false"); |
shouldNotThrow('dc = pc.createDataChannel("label3", {maxRetransmitTime:0});'); |
shouldBe("dc.reliable", "false"); |
-pc = new webkitRTCPeerConnection(null, null); |
+pc = new RTCPeerConnection(); |
pc.oniceconnectionstatechange = pc_onicechange; |
pc.ondatachannel = pc_ondatachannel; |