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

Unified Diff: chrome/browser/media/media_stream_capture_indicator.cc

Issue 348443002: Revert 274823 "Support for audio output devices for getMediaDevi..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2057/src/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/media_stream_capture_indicator.cc
===================================================================
--- chrome/browser/media/media_stream_capture_indicator.cc (revision 278170)
+++ chrome/browser/media/media_stream_capture_indicator.cc (working copy)
@@ -230,7 +230,7 @@
if (it->type == content::MEDIA_TAB_AUDIO_CAPTURE ||
it->type == content::MEDIA_TAB_VIDEO_CAPTURE) {
++mirroring_ref_count_;
- } else if (content::IsAudioInputMediaType(it->type)) {
+ } else if (content::IsAudioMediaType(it->type)) {
++audio_ref_count_;
} else if (content::IsVideoMediaType(it->type)) {
++video_ref_count_;
@@ -252,7 +252,7 @@
if (it->type == content::MEDIA_TAB_AUDIO_CAPTURE ||
it->type == content::MEDIA_TAB_VIDEO_CAPTURE) {
--mirroring_ref_count_;
- } else if (content::IsAudioInputMediaType(it->type)) {
+ } else if (content::IsAudioMediaType(it->type)) {
--audio_ref_count_;
} else if (content::IsVideoMediaType(it->type)) {
--video_ref_count_;
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698