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

Unified Diff: webrtc/libjingle/xmpp/jingleinfotask.cc

Issue 1935893002: Replace scoped_ptr with unique_ptr in webrtc/libjingle/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/libjingle/xmpp/iqtask.h ('k') | webrtc/libjingle/xmpp/mucroomconfigtask.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/jingleinfotask.cc
diff --git a/webrtc/libjingle/xmpp/jingleinfotask.cc b/webrtc/libjingle/xmpp/jingleinfotask.cc
index a5a07121bd11aebd2235716fd96914e8602ee783..5599edc0eb3dc040476b8d5cb17db596f80e60ab 100644
--- a/webrtc/libjingle/xmpp/jingleinfotask.cc
+++ b/webrtc/libjingle/xmpp/jingleinfotask.cc
@@ -10,6 +10,8 @@
#include "webrtc/libjingle/xmpp/jingleinfotask.h"
+#include <memory>
+
#include "webrtc/libjingle/xmpp/constants.h"
#include "webrtc/libjingle/xmpp/xmppclient.h"
#include "webrtc/libjingle/xmpp/xmpptask.h"
@@ -24,7 +26,7 @@ class JingleInfoTask::JingleInfoGetTask : public XmppTask {
done_(false) {}
virtual int ProcessStart() {
- rtc::scoped_ptr<XmlElement> get(
+ std::unique_ptr<XmlElement> get(
MakeIq(STR_GET, Jid(), task_id()));
get->AddElement(new XmlElement(QN_JINGLE_INFO_QUERY, true));
if (SendStanza(get.get()) != XMPP_RETURN_OK) {
« no previous file with comments | « webrtc/libjingle/xmpp/iqtask.h ('k') | webrtc/libjingle/xmpp/mucroomconfigtask.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698