Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: webrtc/call/bitrate_estimator_tests.cc

Issue 2880323002: Move ownership of RtpTransportControllerSendInterface from Call to PeerConnection.
Patch Set: Delete shadowing member variables in BitrateEstimatorTest. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/call/call.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/bitrate_estimator_tests.cc
diff --git a/webrtc/call/bitrate_estimator_tests.cc b/webrtc/call/bitrate_estimator_tests.cc
index ef7aba83e3f12023a1b0bba737b61923e6dc439c..f58aae011763183ce0f79a863769649816f271e8 100644
--- a/webrtc/call/bitrate_estimator_tests.cc
+++ b/webrtc/call/bitrate_estimator_tests.cc
@@ -103,8 +103,8 @@ class BitrateEstimatorTest : public test::CallTest {
virtual void SetUp() {
Call::Config config(event_log_.get());
- receiver_call_.reset(Call::Create(config));
- sender_call_.reset(Call::Create(config));
+ CreateReceiverCall(config);
+ CreateSenderCall(config);
send_transport_.reset(
new test::DirectTransport(sender_call_.get(), payload_type_map_));
@@ -229,8 +229,6 @@ class BitrateEstimatorTest : public test::CallTest {
LogObserver receiver_log_;
std::unique_ptr<test::DirectTransport> send_transport_;
std::unique_ptr<test::DirectTransport> receive_transport_;
- std::unique_ptr<Call> sender_call_;
- std::unique_ptr<Call> receiver_call_;
VideoReceiveStream::Config receive_config_;
std::vector<Stream*> streams_;
};
« no previous file with comments | « no previous file | webrtc/call/call.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698