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

Unified Diff: webrtc/api/statscollector_unittest.cc

Issue 1975453002: Add PeerConnection IsClosed check. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Change the webrtcsession constructor. Created 4 years, 6 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: webrtc/api/statscollector_unittest.cc
diff --git a/webrtc/api/statscollector_unittest.cc b/webrtc/api/statscollector_unittest.cc
index 7953515072bc06f155eba3eba28c0ba1f1f7fd1f..e700a05eb6660247c2171bd70ca2f29e84fe9f48 100644
--- a/webrtc/api/statscollector_unittest.cc
+++ b/webrtc/api/statscollector_unittest.cc
@@ -76,7 +76,10 @@ class MockWebRtcSession : public webrtc::WebRtcSession {
rtc::Thread::Current(),
rtc::Thread::Current(),
rtc::Thread::Current(),
- nullptr) {}
+ nullptr,
+ new cricket::TransportController(rtc::Thread::Current(),
+ rtc::Thread::Current(),
+ nullptr)) {}
MOCK_METHOD0(voice_channel, cricket::VoiceChannel*());
MOCK_METHOD0(video_channel, cricket::VideoChannel*());
// Libjingle uses "local" for a outgoing track, and "remote" for a incoming

Powered by Google App Engine
This is Rietveld 408576698