Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2194)

Unified Diff: content/test/data/media/datachannel_test.html

Issue 2446173002: Use RTCPeerConnection instead of webkitRTCPeerConnection (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/media/datachannel_test.html
diff --git a/content/test/data/media/datachannel_test.html b/content/test/data/media/datachannel_test.html
index 3b6e30325b5be4c109e7ce0915c9b3bdcb1b91e5..aa49fc03bb33a39b5ddc62ddb5f2cd97d73aa45b 100644
--- a/content/test/data/media/datachannel_test.html
+++ b/content/test/data/media/datachannel_test.html
@@ -6,8 +6,8 @@
// Tests that an RTCDataChannel with event handlers is not garbage-collected
// prematurely.
function testDataChannelGC() {
- var pc1 = new webkitRTCPeerConnection(null);
- var pc2 = new webkitRTCPeerConnection(null);
+ var pc1 = new RTCPeerConnection();
+ var pc2 = new RTCPeerConnection();
var iceCandidateHandler = function(rpc) {
return function(e) {
« no previous file with comments | « chrome/test/data/extensions/api_test/tab_capture/performance.js ('k') | content/test/data/media/mediarecorder_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698