Chromium Code Reviews

Unified Diff: webrtc/test/call_test.cc

Issue 2353033005: Refactoring: move ownership of RtcEventLog from Call to PeerConnection (Closed)
Patch Set: Updated unit tests to use RtcEventLogNullImpl. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/test/call_test.cc
diff --git a/webrtc/test/call_test.cc b/webrtc/test/call_test.cc
index 8c6ac45c616ff37a98397ac744112bf350e4b5ee..9f8e22df370ca4d9e792d33634275609436cc134 100644
--- a/webrtc/test/call_test.cc
+++ b/webrtc/test/call_test.cc
@@ -382,11 +382,15 @@ BaseTest::~BaseTest() {
}
Call::Config BaseTest::GetSenderCallConfig() {
- return Call::Config();
+ Call::Config config;
+ config.event_log = &event_log_;
+ return config;
}
Call::Config BaseTest::GetReceiverCallConfig() {
- return Call::Config();
+ Call::Config config;
+ config.event_log = &event_log_;
+ return config;
}
void BaseTest::OnCallsCreated(Call* sender_call, Call* receiver_call) {

Powered by Google App Engine