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

Unified Diff: webrtc/libjingle/xmpp/pubsubtasks_unittest.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/pubsubstateclient.h ('k') | webrtc/libjingle/xmpp/rostermodule_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/pubsubtasks_unittest.cc
diff --git a/webrtc/libjingle/xmpp/pubsubtasks_unittest.cc b/webrtc/libjingle/xmpp/pubsubtasks_unittest.cc
index 8062e58e18f4cb9933b9af380f400c51f47ac011..79e656bb0bb452dbb54235d3aba34ab361a7a889 100644
--- a/webrtc/libjingle/xmpp/pubsubtasks_unittest.cc
+++ b/webrtc/libjingle/xmpp/pubsubtasks_unittest.cc
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
#include <string>
#include "webrtc/libjingle/xmllite/qname.h"
@@ -80,10 +81,10 @@ class PubSubTasksTest : public testing::Test {
listener.reset(new TestPubSubTasksListener());
}
- rtc::scoped_ptr<rtc::FakeTaskRunner> runner;
+ std::unique_ptr<rtc::FakeTaskRunner> runner;
// Client deleted by deleting runner.
buzz::FakeXmppClient* client;
- rtc::scoped_ptr<TestPubSubTasksListener> listener;
+ std::unique_ptr<TestPubSubTasksListener> listener;
buzz::Jid pubsubjid;
std::string node;
std::string itemid;
« no previous file with comments | « webrtc/libjingle/xmpp/pubsubstateclient.h ('k') | webrtc/libjingle/xmpp/rostermodule_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698