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

Unified Diff: content/shell/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 2710213005: Revert of Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Created 3 years, 10 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/shell/test_runner/mock_webrtc_peer_connection_handler.cc
diff --git a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
index 078ceaf4d61483292b555133da600847e4e5cc1d..c2f4f10083d981d1e2a55331264052a247b6bd3a 100644
--- a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
+++ b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
@@ -405,7 +405,7 @@
blink::WebMediaStreamSource webkit_source;
webkit_source.initialize(local_audio_tracks[i].id(),
blink::WebMediaStreamSource::TypeAudio,
- local_audio_tracks[i].id());
+ local_audio_tracks[i].id(), true /* remote */);
remote_audio_tracks[i].initialize(webkit_source);
}
@@ -417,7 +417,7 @@
blink::WebMediaStreamSource webkit_source;
webkit_source.initialize(local_video_tracks[i].id(),
blink::WebMediaStreamSource::TypeVideo,
- local_video_tracks[i].id());
+ local_video_tracks[i].id(), true /* remote */);
remote_video_tracks[i].initialize(webkit_source);
}

Powered by Google App Engine
This is Rietveld 408576698