Index: content/renderer/media/media_stream_dispatcher.cc |
diff --git a/content/renderer/media/media_stream_dispatcher.cc b/content/renderer/media/media_stream_dispatcher.cc |
index 6890ffc5d6f7afe24040a6b6efbb5544d827a720..51b708b7032581e0661baa7fb35cca484e354358 100644 |
--- a/content/renderer/media/media_stream_dispatcher.cc |
+++ b/content/renderer/media/media_stream_dispatcher.cc |
@@ -264,14 +264,16 @@ void MediaStreamDispatcher::OnStreamGenerated( |
} |
} |
-void MediaStreamDispatcher::OnStreamGenerationFailed(int request_id) { |
+void MediaStreamDispatcher::OnStreamGenerationFailed( |
+ int request_id, |
+ content::MediaStreamRequestResult result) { |
DCHECK(main_loop_->BelongsToCurrentThread()); |
for (RequestList::iterator it = requests_.begin(); |
it != requests_.end(); ++it) { |
Request& request = *it; |
if (request.ipc_request == request_id) { |
if (request.handler.get()) { |
- request.handler->OnStreamGenerationFailed(request.request_id); |
+ request.handler->OnStreamGenerationFailed(request.request_id, result); |
DVLOG(1) << "MediaStreamDispatcher::OnStreamGenerationFailed(" |
<< request.request_id << ")\n"; |
} |