Index: chrome/renderer/media/cast_receiver_session_delegate.cc |
diff --git a/chrome/renderer/media/cast_receiver_session_delegate.cc b/chrome/renderer/media/cast_receiver_session_delegate.cc |
index 400dbf382650aa0fa325644627d164d160a8eb6b..e6e7ba5aeb07eca82fc66868cf4e7e71f2643c8c 100644 |
--- a/chrome/renderer/media/cast_receiver_session_delegate.cc |
+++ b/chrome/renderer/media/cast_receiver_session_delegate.cc |
@@ -24,12 +24,14 @@ void CastReceiverSessionDelegate::Start( |
const net::IPEndPoint& local_endpoint, |
const net::IPEndPoint& remote_endpoint, |
scoped_ptr<base::DictionaryValue> options, |
- const media::VideoCaptureFormat& format) { |
+ const media::VideoCaptureFormat& format, |
+ const ErrorCallback& error_callback) { |
format_ = format; |
DCHECK(io_message_loop_proxy_->BelongsToCurrentThread()); |
CastSessionDelegateBase::StartUDP(local_endpoint, |
remote_endpoint, |
- options.Pass()); |
+ options.Pass(), |
+ error_callback); |
cast_receiver_ = media::cast::CastReceiver::Create(cast_environment_, |
audio_config, |
video_config, |