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 ef91e0f36fd41d338d7c1d853e0705924397b2d9..6736be212f91355249197da2562651658e2e3a0a 100644 |
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
@@ -147,12 +147,8 @@ void MediaStreamDispatcherHost::OnGenerateStream( |
const std::string& label = media_stream_manager_->GenerateStream( |
this, render_process_id_, render_view_id, page_request_id, |
components, security_origin); |
- if (label.empty()) { |
- Send(new MediaStreamMsg_StreamGenerationFailed(render_view_id, |
- page_request_id)); |
- } else { |
- StoreRequest(render_view_id, page_request_id, label); |
- } |
+ CHECK(!label.empty()); |
+ StoreRequest(render_view_id, page_request_id, label); |
} |
void MediaStreamDispatcherHost::OnCancelGenerateStream(int render_view_id, |