Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-localDescription-promise.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-localDescription-promise.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-localDescription-promise.html |
index 1eb3c289f85a26af5f5d841d3e82f515bbc738d9..9749767fb3f302d43f7adb4141e934026271e5cd 100644 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-localDescription-promise.html |
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-localDescription-promise.html |
@@ -56,7 +56,7 @@ function expectedInvalidSessionDescription(error) |
testPassed('expectedInvalidSessionDescription was called.') |
} |
-pc = new webkitRTCPeerConnection(null, null); |
+pc = new RTCPeerConnection(); |
shouldNotThrow('pc.setLocalDescription().catch(expectedTypeError)'); |
shouldNotThrow('pc.setLocalDescription(null).catch(expectedInvalidSessionDescription)'); |
var sessionDescription = new RTCSessionDescription({type:"offer", sdp:"local"}); |