Index: remoting/protocol/ice_connection_to_host.cc |
diff --git a/remoting/protocol/ice_connection_to_host.cc b/remoting/protocol/ice_connection_to_host.cc |
index 28e494a85437ff17f902e055054dda3dad6dcfc6..c238c76dbc6d6e806af9403ad436022fc4798fde 100644 |
--- a/remoting/protocol/ice_connection_to_host.cc |
+++ b/remoting/protocol/ice_connection_to_host.cc |
@@ -33,7 +33,7 @@ void IceConnectionToHost::Connect(scoped_ptr<Session> session, |
DCHECK(clipboard_stub_); |
DCHECK(monitored_video_stub_); |
- session_ = session.Pass(); |
+ session_ = std::move(session); |
session_->SetEventHandler(this); |
event_callback_ = event_callback; |