Index: webrtc/call/packet_injection_tests.cc |
diff --git a/webrtc/call/packet_injection_tests.cc b/webrtc/call/packet_injection_tests.cc |
index 42f4faed4a38662a9cb876b8fdc276cd755424c2..94a7130091b8eaeda57bbe2f3d2ac2d31e0ec456 100644 |
--- a/webrtc/call/packet_injection_tests.cc |
+++ b/webrtc/call/packet_injection_tests.cc |
@@ -10,6 +10,7 @@ |
#include <memory> |
+#include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
#include "webrtc/test/call_test.h" |
#include "webrtc/test/gtest.h" |
#include "webrtc/test/null_transport.h" |
@@ -37,8 +38,11 @@ void PacketInjectionTest::InjectIncorrectPacket(CodecType codec_type, |
uint8_t payload_type, |
const uint8_t* packet, |
size_t length) { |
- CreateSenderCall(Call::Config()); |
- CreateReceiverCall(Call::Config()); |
+ webrtc::RtcEventLogNullImpl event_log; |
stefan-webrtc
2016/10/05 07:35:22
This is a CallTest, so you already have an event_l
skvlad
2016/10/06 01:31:38
Removed from here and all other CallTest subclasse
|
+ Call::Config config; |
+ config.event_log = &event_log; |
+ CreateSenderCall(config); |
+ CreateReceiverCall(config); |
test::NullTransport null_transport; |
CreateSendConfig(1, 0, &null_transport); |