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

Unified Diff: chrome/test/data/extensions/api_test/tab_capture/performance.js

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: chrome/test/data/extensions/api_test/tab_capture/performance.js
diff --git a/chrome/test/data/extensions/api_test/tab_capture/performance.js b/chrome/test/data/extensions/api_test/tab_capture/performance.js
index 552b42ccd37a0946be7c509e69f698ce358a77f7..4d6025d03fb197bfe40aae23990ec74a77d3b816 100644
--- a/chrome/test/data/extensions/api_test/tab_capture/performance.js
+++ b/chrome/test/data/extensions/api_test/tab_capture/performance.js
@@ -70,8 +70,8 @@ function TestStream(stream) {
function testThroughWebRTC(stream) {
capture_stream = stream;
console.log("Testing through webrtc.");
- var sender = new webkitRTCPeerConnection(null);
- var receiver = new webkitRTCPeerConnection(null);
+ var sender = new RTCPeerConnection();
+ var receiver = new RTCPeerConnection();
sender.onicecandidate = function (event) {
if (event.candidate) {
receiver.addIceCandidate(new RTCIceCandidate(event.candidate));
« no previous file with comments | « chrome/test/data/extensions/api_test/tab_capture/end_to_end.js ('k') | content/test/data/media/datachannel_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698