Index: remoting/signaling/jingle_info_request.cc |
diff --git a/remoting/signaling/jingle_info_request.cc b/remoting/signaling/jingle_info_request.cc |
index be0f75f5e52fc6f1866b31bdac55e12af5832e96..0ea7517d72f7b3a0e1df8fa8da03630b001fbaa0 100644 |
--- a/remoting/signaling/jingle_info_request.cc |
+++ b/remoting/signaling/jingle_info_request.cc |
@@ -4,6 +4,8 @@ |
#include "remoting/signaling/jingle_info_request.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
#include "base/stl_util.h" |
@@ -20,8 +22,7 @@ namespace remoting { |
const int kRequestTimeoutSeconds = 5; |
JingleInfoRequest::JingleInfoRequest(SignalStrategy* signal_strategy) |
- : iq_sender_(signal_strategy) { |
-} |
+ : iq_sender_(signal_strategy) {} |
JingleInfoRequest::~JingleInfoRequest() {} |
@@ -30,7 +31,7 @@ void JingleInfoRequest::Send(const OnJingleInfoCallback& callback) { |
scoped_ptr<buzz::XmlElement> iq_body( |
new buzz::XmlElement(buzz::QN_JINGLE_INFO_QUERY, true)); |
request_ = iq_sender_.SendIq( |
- buzz::STR_GET, buzz::STR_EMPTY, iq_body.Pass(), |
+ buzz::STR_GET, buzz::STR_EMPTY, std::move(iq_body), |
base::Bind(&JingleInfoRequest::OnResponse, base::Unretained(this))); |
if (!request_) { |
// If we failed to send IqRequest it means that SignalStrategy is |