Index: webrtc/pc/channelmanager_unittest.cc |
diff --git a/webrtc/pc/channelmanager_unittest.cc b/webrtc/pc/channelmanager_unittest.cc |
index e4e243c8b516d151c2d661988b284ee34f909965..e675e9f67ae677f492c84207dc74bc9015290d94 100644 |
--- a/webrtc/pc/channelmanager_unittest.cc |
+++ b/webrtc/pc/channelmanager_unittest.cc |
@@ -12,6 +12,7 @@ |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/thread.h" |
+#include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
#include "webrtc/media/base/fakemediaengine.h" |
#include "webrtc/media/base/fakevideocapturer.h" |
#include "webrtc/media/base/testutils.h" |
@@ -38,7 +39,7 @@ class ChannelManagerTest : public testing::Test { |
cm_(new cricket::ChannelManager(fme_, |
fdme_, |
rtc::Thread::Current())), |
- fake_call_(webrtc::Call::Config()), |
+ fake_call_(ConfigWithRtcEventLog(&event_log_)), |
fake_mc_(cm_, &fake_call_), |
transport_controller_( |
new cricket::FakeTransportController(ICEROLE_CONTROLLING)) {} |
@@ -56,6 +57,7 @@ class ChannelManagerTest : public testing::Test { |
fme_ = NULL; |
} |
+ webrtc::RtcEventLogNullImpl event_log_; |
rtc::Thread network_; |
rtc::Thread worker_; |
cricket::FakeMediaEngine* fme_; |