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

Unified Diff: remoting/signaling/xmpp_login_handler.cc

Issue 1545723002: Use std::move() instead of .Pass() in remoting/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
Patch Set: Created 5 years 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
« no previous file with comments | « remoting/signaling/server_log_entry.cc ('k') | remoting/signaling/xmpp_login_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/xmpp_login_handler.cc
diff --git a/remoting/signaling/xmpp_login_handler.cc b/remoting/signaling/xmpp_login_handler.cc
index 448ecbef6fae382fbed139f589fe54bfee6469aa..dc12382395963c54c43fa86224da845eaee451cc 100644
--- a/remoting/signaling/xmpp_login_handler.cc
+++ b/remoting/signaling/xmpp_login_handler.cc
@@ -4,6 +4,8 @@
#include "remoting/signaling/xmpp_login_handler.h"
+#include <utility>
+
#include "base/base64.h"
#include "base/bind.h"
#include "base/logging.h"
@@ -182,7 +184,7 @@ void XmppLoginHandler::OnStanza(scoped_ptr<buzz::XmlElement> stanza) {
return;
}
state_ = State::DONE;
- delegate_->OnHandshakeDone(jid_, stream_parser_.Pass());
+ delegate_->OnHandshakeDone(jid_, std::move(stream_parser_));
break;
default:
« no previous file with comments | « remoting/signaling/server_log_entry.cc ('k') | remoting/signaling/xmpp_login_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698