Index: webrtc/media/engine/webrtcmediaengine_unittest.cc |
diff --git a/webrtc/media/engine/webrtcmediaengine_unittest.cc b/webrtc/media/engine/webrtcmediaengine_unittest.cc |
index c58c75b0c3a81a15e3089b3b29748565f44758e2..7a97c1a0b9508a383cf228e714c1ef42901374d2 100644 |
--- a/webrtc/media/engine/webrtcmediaengine_unittest.cc |
+++ b/webrtc/media/engine/webrtcmediaengine_unittest.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
+#include "webrtc/api/audio_codecs/builtin_audio_encoder_factory.h" |
#include "webrtc/media/engine/webrtcmediaengine.h" |
#include "webrtc/test/gtest.h" |
@@ -188,7 +189,8 @@ TEST(WebRtcMediaEngineFactoryTest, CreateOldApi) { |
TEST(WebRtcMediaEngineFactoryTest, CreateWithBuiltinDecoders) { |
std::unique_ptr<MediaEngineInterface> engine(WebRtcMediaEngineFactory::Create( |
- nullptr, webrtc::CreateBuiltinAudioDecoderFactory(), nullptr, nullptr)); |
+ nullptr, webrtc::CreateBuiltinAudioEncoderFactory(), |
+ webrtc::CreateBuiltinAudioDecoderFactory(), nullptr, nullptr)); |
EXPECT_TRUE(engine); |
} |