Index: webrtc/api/statscollector_unittest.cc |
diff --git a/webrtc/api/statscollector_unittest.cc b/webrtc/api/statscollector_unittest.cc |
index 7953515072bc06f155eba3eba28c0ba1f1f7fd1f..e0657a1b95cb7c47b1aa6ac1d791ce9feaf787ae 100644 |
--- a/webrtc/api/statscollector_unittest.cc |
+++ b/webrtc/api/statscollector_unittest.cc |
@@ -72,11 +72,16 @@ class MockWebRtcSession : public webrtc::WebRtcSession { |
// warnings from -Winconsistent-missing-override. See |
// http://crbug.com/428099. |
explicit MockWebRtcSession(webrtc::MediaControllerInterface* media_controller) |
- : WebRtcSession(media_controller, |
- rtc::Thread::Current(), |
- rtc::Thread::Current(), |
- rtc::Thread::Current(), |
- nullptr) {} |
+ : WebRtcSession( |
+ media_controller, |
+ rtc::Thread::Current(), |
+ rtc::Thread::Current(), |
+ rtc::Thread::Current(), |
+ nullptr, |
+ std::unique_ptr<cricket::TransportController>( |
+ 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 |