Index: webrtc/call/bitrate_estimator_tests.cc |
diff --git a/webrtc/call/bitrate_estimator_tests.cc b/webrtc/call/bitrate_estimator_tests.cc |
index 88da13c864400298fb82668b635de4334c13e1b7..3f8ea128cf3f9a02f7a95c8cbf04e300e12d9829 100644 |
--- a/webrtc/call/bitrate_estimator_tests.cc |
+++ b/webrtc/call/bitrate_estimator_tests.cc |
@@ -173,7 +173,8 @@ class BitrateEstimatorTest : public test::CallTest { |
test_->video_send_config_.rtp.ssrcs[0]++; |
test_->video_send_config_.encoder_settings.encoder = &fake_encoder_; |
send_stream_ = test_->sender_call_->CreateVideoSendStream( |
- test_->video_send_config_, test_->video_encoder_config_); |
+ test_->video_send_config_.Copy(), |
+ test_->video_encoder_config_.Copy()); |
RTC_DCHECK_EQ(1u, test_->video_encoder_config_.streams.size()); |
frame_generator_capturer_.reset(test::FrameGeneratorCapturer::Create( |
send_stream_->Input(), test_->video_encoder_config_.streams[0].width, |