Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 9283028: Add scoped_ptr<>::PassAs<>(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698