Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: webrtc/call/call_unittest.cc

Issue 2377023002: Now pass ADM as a constructor argument to audio_state. (Closed)
Patch Set: Removed audio_transport() mock calls in tests. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/call/call_unittest.cc
diff --git a/webrtc/call/call_unittest.cc b/webrtc/call/call_unittest.cc
index 4c2562d75ed985d618df0cbb196e00d442881985..8ce956285ffeab6a17276d25ccc1d450eb5a5a04 100644
--- a/webrtc/call/call_unittest.cc
+++ b/webrtc/call/call_unittest.cc
@@ -27,7 +27,8 @@ struct CallHelper {
webrtc::AudioState::Config audio_state_config;
audio_state_config.voice_engine = &voice_engine_;
webrtc::Call::Config config;
- config.audio_state = webrtc::AudioState::Create(audio_state_config);
+ config.audio_state =
+ webrtc::AudioState::Create(audio_state_config, nullptr);
call_.reset(webrtc::Call::Create(config));
}

Powered by Google App Engine
This is Rietveld 408576698