Chromium Code Reviews| Index: remoting/protocol/connection_to_host.cc |
| diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc |
| index 93c722a942747d2fe305a8f296a35e6ae8213515..bd859ec7ca8cffe8b1e7e91edabcb38d518db488 100644 |
| --- a/remoting/protocol/connection_to_host.cc |
| +++ b/remoting/protocol/connection_to_host.cc |
| @@ -158,7 +158,8 @@ void ConnectionToHost::OnSessionStateChange( |
| break; |
| case Session::AUTHENTICATED: |
| - video_reader_.reset(VideoReader::Create(session_->config())); |
| + video_reader_.reset(); |
|
Sergey Ulanov
2012/06/15 20:41:43
same here.
kxing
2012/06/15 20:48:17
Done.
|
| + video_reader_ = VideoReader::Create(session_->config()); |
| video_reader_->Init(session_.get(), video_stub_, base::Bind( |
| &ConnectionToHost::OnChannelInitialized, base::Unretained(this))); |