| Index: webrtc/test/mock_voice_engine.h
|
| diff --git a/webrtc/test/mock_voice_engine.h b/webrtc/test/mock_voice_engine.h
|
| index 469028dbf692cfb486573a706f929337dc4d8a5e..abd493b9d95fb505fe2105d2ff7595ae2ddfa881 100644
|
| --- a/webrtc/test/mock_voice_engine.h
|
| +++ b/webrtc/test/mock_voice_engine.h
|
| @@ -30,8 +30,7 @@ class MockVoiceEngine : public VoiceEngineImpl {
|
| // http://crbug.com/428099.
|
| MockVoiceEngine(
|
| rtc::scoped_refptr<AudioDecoderFactory> decoder_factory = nullptr)
|
| - : VoiceEngineImpl(new Config(), true),
|
| - decoder_factory_(decoder_factory) {
|
| + : decoder_factory_(decoder_factory) {
|
| // Increase ref count so this object isn't automatically deleted whenever
|
| // interfaces are Release():d.
|
| ++_ref_count;
|
| @@ -123,7 +122,7 @@ class MockVoiceEngine : public VoiceEngineImpl {
|
| MOCK_METHOD0(audio_processing, AudioProcessing*());
|
| MOCK_METHOD0(Terminate, int());
|
| MOCK_METHOD0(CreateChannel, int());
|
| - MOCK_METHOD1(CreateChannel, int(const Config& config));
|
| + MOCK_METHOD1(CreateChannel, int(const ChannelConfig& config));
|
| MOCK_METHOD1(DeleteChannel, int(int channel));
|
| MOCK_METHOD1(StartReceive, int(int channel));
|
| MOCK_METHOD1(StopReceive, int(int channel));
|
|
|