Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index 6c0170e70414e9dc501d730802a509c02f683dc8..ba9ea2b438abb0c52c79252b3e008cb097e69e17 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -35,6 +35,7 @@ |
#include "webrtc/base/stringutils.h" |
#include "webrtc/base/thread.h" |
#include "webrtc/base/virtualsocketserver.h" |
+#include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
#include "webrtc/media/base/fakemediaengine.h" |
#include "webrtc/media/base/fakevideorenderer.h" |
#include "webrtc/media/base/mediachannel.h" |
@@ -331,15 +332,15 @@ class WebRtcSessionTest |
WebRtcSessionTest() |
: media_engine_(new cricket::FakeMediaEngine()), |
data_engine_(new cricket::FakeDataEngine()), |
- channel_manager_( |
- new cricket::ChannelManager(media_engine_, |
- data_engine_, |
- rtc::Thread::Current())), |
- fake_call_(webrtc::Call::Config()), |
+ channel_manager_(new cricket::ChannelManager(media_engine_, |
+ data_engine_, |
+ rtc::Thread::Current())), |
+ fake_call_(webrtc::Call::Config(&event_log_)), |
media_controller_( |
webrtc::MediaControllerInterface::Create(cricket::MediaConfig(), |
rtc::Thread::Current(), |
- channel_manager_.get())), |
+ channel_manager_.get(), |
+ &event_log_)), |
tdesc_factory_(new cricket::TransportDescriptionFactory()), |
desc_factory_( |
new cricket::MediaSessionDescriptionFactory(channel_manager_.get(), |
@@ -1480,6 +1481,7 @@ class WebRtcSessionTest |
allocator_->set_flags(cricket::PORTALLOCATOR_DISABLE_TCP); |
} |
+ webrtc::RtcEventLogNullImpl event_log_; |
cricket::FakeMediaEngine* media_engine_; |
cricket::FakeDataEngine* data_engine_; |
std::unique_ptr<cricket::ChannelManager> channel_manager_; |