diff options
author | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 22:23:06 +0000 |
---|---|---|
committer | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 22:23:06 +0000 |
commit | 80d364ec445be64ce949f7c033cf510fd16ea36c (patch) | |
tree | 7fbc1606a4e427590f54f945a15526b461290f78 /remoting/protocol/connection_to_host.cc | |
parent | 8f7940244f8402881e94c258551f836262827a12 (diff) | |
download | chromium_src-80d364ec445be64ce949f7c033cf510fd16ea36c.zip chromium_src-80d364ec445be64ce949f7c033cf510fd16ea36c.tar.gz chromium_src-80d364ec445be64ce949f7c033cf510fd16ea36c.tar.bz2 |
Cleaned up the reader and writer create methods to return scoped_ptr.
Review URL: https://chromiumcodereview.appspot.com/10556020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/connection_to_host.cc')
-rw-r--r-- | remoting/protocol/connection_to_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc index 93c722a..296439b 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))); |