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

Unified Diff: webrtc/libjingle/xmpp/xmpptask.h

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/xmpplogintask_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/xmpptask.h
diff --git a/webrtc/libjingle/xmpp/xmpptask.h b/webrtc/libjingle/xmpp/xmpptask.h
index 36ffe1b098dfc1abd33dc7252e649d43f157fb9e..3f3a39c791cb295d8630eeb680a198362d4d16de 100644
--- a/webrtc/libjingle/xmpp/xmpptask.h
+++ b/webrtc/libjingle/xmpp/xmpptask.h
@@ -12,7 +12,9 @@
#define WEBRTC_LIBJINGLE_XMPP_XMPPTASK_H_
#include <deque>
+#include <memory>
#include <string>
+
#include "webrtc/libjingle/xmpp/xmppengine.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/sigslot.h"
@@ -160,7 +162,7 @@ private:
bool stopped_;
std::deque<XmlElement*> stanza_queue_;
- rtc::scoped_ptr<XmlElement> next_stanza_;
+ std::unique_ptr<XmlElement> next_stanza_;
std::string id_;
#if !defined(NDEBUG)
« no previous file with comments | « webrtc/libjingle/xmpp/xmpplogintask_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698