Index: webrtc/pc/test/mock_webrtcsession.h |
diff --git a/webrtc/pc/test/mock_webrtcsession.h b/webrtc/pc/test/mock_webrtcsession.h |
index d476377370c322668f2d465a9672acc8adf37e3b..cf4253b1e0f976a4a2959387a30534ca3d09a6c6 100644 |
--- a/webrtc/pc/test/mock_webrtcsession.h |
+++ b/webrtc/pc/test/mock_webrtcsession.h |
@@ -34,9 +34,12 @@ class MockWebRtcSession : public webrtc::WebRtcSession { |
rtc::Thread::Current(), |
nullptr, |
std::unique_ptr<cricket::TransportController>( |
- new cricket::TransportController(rtc::Thread::Current(), |
- rtc::Thread::Current(), |
- nullptr)), |
+ new cricket::TransportController( |
+ rtc::Thread::Current(), |
+ rtc::Thread::Current(), |
+ nullptr, |
+ /*redetermine_role_on_ice_restart=*/true, |
+ rtc::CryptoOptions())), |
std::unique_ptr<cricket::SctpTransportInternalFactory>()) {} |
MOCK_METHOD0(voice_channel, cricket::VoiceChannel*()); |
MOCK_METHOD0(video_channel, cricket::VideoChannel*()); |