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..296439bf0d6ef6d3285bd5c278ab3cdb24f8df83 100644 |
--- a/remoting/protocol/connection_to_host.cc |
+++ b/remoting/protocol/connection_to_host.cc |
@@ -158,7 +158,7 @@ void ConnectionToHost::OnSessionStateChange( |
break; |
case Session::AUTHENTICATED: |
- video_reader_.reset(VideoReader::Create(session_->config())); |
+ video_reader_ = VideoReader::Create(session_->config()); |
video_reader_->Init(session_.get(), video_stub_, base::Bind( |
&ConnectionToHost::OnChannelInitialized, base::Unretained(this))); |