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

Unified Diff: webrtc/libjingle/xmpp/pubsub_task.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/pingtask.cc ('k') | webrtc/libjingle/xmpp/pubsubclient_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/pubsub_task.cc
diff --git a/webrtc/libjingle/xmpp/pubsub_task.cc b/webrtc/libjingle/xmpp/pubsub_task.cc
index f30c0518144ccd7682b777d4a42afccf66e497da..812cb95832cfef34d3116c2381511031e8532969 100644
--- a/webrtc/libjingle/xmpp/pubsub_task.cc
+++ b/webrtc/libjingle/xmpp/pubsub_task.cc
@@ -11,6 +11,7 @@
#include "webrtc/libjingle/xmpp/pubsub_task.h"
#include <map>
+#include <memory>
#include <string>
#include "webrtc/libjingle/xmpp/constants.h"
@@ -82,7 +83,7 @@ int PubsubTask::ProcessResponse() {
bool PubsubTask::SubscribeToNode(const std::string& pubsub_node,
NodeHandler handler) {
subscribed_nodes_[pubsub_node] = handler;
- rtc::scoped_ptr<buzz::XmlElement> get_iq_request(
+ std::unique_ptr<buzz::XmlElement> get_iq_request(
MakeIq(buzz::STR_GET, pubsub_node_jid_, task_id()));
if (!get_iq_request) {
return false;
« no previous file with comments | « webrtc/libjingle/xmpp/pingtask.cc ('k') | webrtc/libjingle/xmpp/pubsubclient_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698