Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription-promise.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription-promise.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription-promise.html |
index 31e12bcf6327a46f62ab838791b90d2cfbd2cc65..c675b3951e66bb208e5c4f986b577775a5e0b67d 100644 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription-promise.html |
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription-promise.html |
@@ -56,7 +56,7 @@ function expectedInvalidSessionDescription(error) |
testPassed('expectedInvalidSessionDescription was called.') |
} |
-pc = new webkitRTCPeerConnection(null, null); |
+pc = new RTCPeerConnection(); |
shouldNotThrow('pc.setRemoteDescription().catch(expectedTypeError)'); |
shouldNotThrow('pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription)'); |
var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"}); |