Index: content/renderer/media/webrtc_audio_capturer_unittest.cc |
diff --git a/content/renderer/media/webrtc_audio_capturer_unittest.cc b/content/renderer/media/webrtc_audio_capturer_unittest.cc |
index d0bcf296c6042413fc3785809ea3fa5c731a1ae3..b93cecb1b1698c850a982689dfe1cc58848f96da 100644 |
--- a/content/renderer/media/webrtc_audio_capturer_unittest.cc |
+++ b/content/renderer/media/webrtc_audio_capturer_unittest.cc |
@@ -158,8 +158,8 @@ class WebRtcAudioCapturerTest : public testing::Test { |
// those values should be correctly stored and passed to the track. |
TEST_F(WebRtcAudioCapturerTest, VerifyAudioParams) { |
// Use constraints with default settings. |
- blink::WebMediaConstraints constraints; |
- VerifyAudioParams(constraints, true); |
+ MockMediaConstraintFactory constraint_factory; |
+ VerifyAudioParams(constraint_factory.CreateWebMediaConstraints(), true); |
} |
TEST_F(WebRtcAudioCapturerTest, VerifyAudioParamsWithAudioProcessing) { |