Index: remoting/protocol/jingle_session_manager.cc |
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc |
index b92f0f4b9ccb5268b7af02918bae94c217fdd7c4..b1cfb6115a2b6adcdedb2d8d1363d72eb3b1cb5a 100644 |
--- a/remoting/protocol/jingle_session_manager.cc |
+++ b/remoting/protocol/jingle_session_manager.cc |
@@ -141,7 +141,7 @@ scoped_ptr<Session> JingleSessionManager::Connect( |
jingle_session->SendSessionInitiate(); |
- return scoped_ptr<Session>(jingle_session.Pass()); |
+ return jingle_session.PassAs<Session>(); |
} |
void JingleSessionManager::OnSessionCreate( |