Index: talk/app/webrtc/localaudiosource_unittest.cc |
diff --git a/talk/app/webrtc/localaudiosource_unittest.cc b/talk/app/webrtc/localaudiosource_unittest.cc |
index 1c434203da800129ef74f6b35999fec2e6f20d26..7e5d8dea678557696ec4e476e69e4e4c095c95b0 100644 |
--- a/talk/app/webrtc/localaudiosource_unittest.cc |
+++ b/talk/app/webrtc/localaudiosource_unittest.cc |
@@ -43,7 +43,8 @@ using webrtc::PeerConnectionFactoryInterface; |
TEST(LocalAudioSourceTest, SetValidOptions) { |
webrtc::FakeConstraints constraints; |
- constraints.AddMandatory(MediaConstraintsInterface::kEchoCancellation, false); |
+ constraints.AddMandatory( |
+ MediaConstraintsInterface::kGoogEchoCancellation, false); |
constraints.AddOptional( |
MediaConstraintsInterface::kExtendedFilterEchoCancellation, true); |
constraints.AddOptional(MediaConstraintsInterface::kDAEchoCancellation, true); |
@@ -133,8 +134,10 @@ TEST(LocalAudioSourceTest, OptionNotSet) { |
TEST(LocalAudioSourceTest, MandatoryOverridesOptional) { |
webrtc::FakeConstraints constraints; |
- constraints.AddMandatory(MediaConstraintsInterface::kEchoCancellation, false); |
- constraints.AddOptional(MediaConstraintsInterface::kEchoCancellation, true); |
+ constraints.AddMandatory( |
+ MediaConstraintsInterface::kGoogEchoCancellation, false); |
+ constraints.AddOptional( |
+ MediaConstraintsInterface::kGoogEchoCancellation, true); |
rtc::scoped_refptr<LocalAudioSource> source = |
LocalAudioSource::Create(PeerConnectionFactoryInterface::Options(), |