| Index: webrtc/call/bitrate_estimator_tests.cc
|
| diff --git a/webrtc/call/bitrate_estimator_tests.cc b/webrtc/call/bitrate_estimator_tests.cc
|
| index 685f3fd665622247ee86f2cbe5cb6dc5d97a65f1..43191cf1c562e6053136f9d5ecd138ad6de42b0a 100644
|
| --- a/webrtc/call/bitrate_estimator_tests.cc
|
| +++ b/webrtc/call/bitrate_estimator_tests.cc
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +#include "webrtc/audio_state.h"
|
| #include "webrtc/base/checks.h"
|
| #include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/base/thread_annotations.h"
|
| @@ -123,8 +124,10 @@ class BitrateEstimatorTest : public test::CallTest {
|
| }
|
|
|
| virtual void SetUp() {
|
| + AudioState::Config audio_state_config;
|
| + audio_state_config.voice_engine = &fake_voice_engine_;
|
| Call::Config config;
|
| - config.voice_engine = &fake_voice_engine_;
|
| + config.audio_state = AudioState::Create(audio_state_config);
|
| receiver_call_.reset(Call::Create(config));
|
| sender_call_.reset(Call::Create(config));
|
|
|
| @@ -165,6 +168,7 @@ class BitrateEstimatorTest : public test::CallTest {
|
| }
|
|
|
| receiver_call_.reset();
|
| + sender_call_.reset();
|
| }
|
|
|
| protected:
|
|
|