Index: webrtc/modules/audio_processing/audio_processing_unittest.cc |
diff --git a/webrtc/modules/audio_processing/audio_processing_unittest.cc b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
index e5ab3da3b42561f476f168362da9a6cd2a76419c..23705e793d53858209e7fe085051ee057ec5cbd3 100644 |
--- a/webrtc/modules/audio_processing/audio_processing_unittest.cc |
+++ b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
@@ -1284,7 +1284,7 @@ TEST_F(ApmTest, AgcOnlyAdaptsWhenTargetSignalIsPresent) { |
geometry.push_back(webrtc::Point(0.05f, 0.f, 0.f)); |
config.Set<Beamforming>(new Beamforming(true, geometry)); |
testing::NiceMock<MockNonlinearBeamformer>* beamformer = |
- new testing::NiceMock<MockNonlinearBeamformer>(geometry); |
+ new testing::NiceMock<MockNonlinearBeamformer>(geometry, 1u); |
std::unique_ptr<AudioProcessing> apm( |
AudioProcessing::Create(config, beamformer)); |
EXPECT_EQ(kNoErr, apm->gain_control()->Enable(true)); |