Index: content/browser/renderer_host/media/media_stream_ui_proxy.cc |
diff --git a/content/browser/renderer_host/media/media_stream_ui_proxy.cc b/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
index fdf7ccaf29268fdd6e5239d659ebdbb57cef2f6b..1c924241aa351435f55b1a1d297563202066c1a0 100644 |
--- a/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
+++ b/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
@@ -229,8 +229,8 @@ void FakeMediaStreamUIProxy::RequestAccess( |
for (MediaStreamDevices::const_iterator it = devices_.begin(); |
it != devices_.end(); ++it) { |
if (!accepted_audio && |
- IsAudioMediaType(request.audio_type) && |
- IsAudioMediaType(it->type) && |
+ IsAudioInputMediaType(request.audio_type) && |
+ IsAudioInputMediaType(it->type) && |
(request.requested_audio_device_id.empty() || |
request.requested_audio_device_id == it->id)) { |
devices_to_use.push_back(*it); |