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 3d73e96b4303862597f68f7739ba9d23ddc30b36..c07d0130b4b3ae400e81f3dee5aba344df4003c3 100644 |
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc |
@@ -137,12 +137,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, |