summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authordalecurtis <dalecurtis@chromium.org>2015-04-02 22:20:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-03 05:21:17 +0000
commit202d64ee2e4d41acc16cab216025fa910b58a8a3 (patch)
tree7cf11cdd84fbafc304a54aef0657891e5743c0a7 /content/public
parenta7e8346adbafcd29a7b673ff70d08ee566853d44 (diff)
downloadchromium_src-202d64ee2e4d41acc16cab216025fa910b58a8a3.zip
chromium_src-202d64ee2e4d41acc16cab216025fa910b58a8a3.tar.gz
chromium_src-202d64ee2e4d41acc16cab216025fa910b58a8a3.tar.bz2
Remove render view id from the audio input and output, part two!
Render view id wasn't really being used anywhere outside of one scheduler usage and one audio renderer mixer usage. Both are easily converted, though I've added a scheduler reviewer to be sure it's okay to use a render frame id here. Part I: https://codereview.chromium.org/1051543002/ BUG=392596, 304341, 472869 TEST=all existing tests pass. Review URL: https://codereview.chromium.org/1052493002 Cr-Commit-Position: refs/heads/master@{#323618}
Diffstat (limited to 'content/public')
-rw-r--r--content/public/renderer/media_stream_api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/public/renderer/media_stream_api.cc b/content/public/renderer/media_stream_api.cc
index 6e29a2e..da39c4b 100644
--- a/content/public/renderer/media_stream_api.cc
+++ b/content/public/renderer/media_stream_api.cc
@@ -103,8 +103,8 @@ bool AddAudioTrackToMediaStream(
blink::WebMediaConstraints constraints;
constraints.initialize();
scoped_refptr<WebRtcAudioCapturer> capturer(
- WebRtcAudioCapturer::CreateCapturer(-1, -1, StreamDeviceInfo(),
- constraints, nullptr, audio_source));
+ WebRtcAudioCapturer::CreateCapturer(-1, StreamDeviceInfo(), constraints,
+ nullptr, audio_source));
capturer->SetCapturerSource(source, params);
audio_source->SetAudioCapturer(capturer);
webkit_source.setExtraData(audio_source);