Index: content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
index fb817b9cf8a738dceeb3c5c6857e376457677e26..855ae75cbe22e2a2c5230f9680d45ccbfedcf6cf 100644 |
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
@@ -143,9 +143,7 @@ void MediaStreamDispatcherHost::OnChannelClosing() { |
BrowserMessageFilter::OnChannelClosing(); |
DVLOG(1) << "MediaStreamDispatcherHost::OnChannelClosing"; |
- // Since the IPC channel is gone, cancel pending requests and close all |
- // requested VideoCaptureDevices. |
- GetManager()->CancelRequests(this); |
+ // Since the IPC channel is gone, close all requesting/requested streams. |
for (StreamMap::iterator it = streams_.begin(); |
it != streams_.end(); |
it++) { |