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

Unified Diff: webrtc/p2p/quic/quicconnectionhelper_unittest.cc

Issue 1923163003: Replace scoped_ptr with unique_ptr in webrtc/p2p/ (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/p2p/client/portallocator_unittest.cc ('k') | webrtc/p2p/quic/quicsession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/quicconnectionhelper_unittest.cc
diff --git a/webrtc/p2p/quic/quicconnectionhelper_unittest.cc b/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
index 1a7313c245705651bf3dbcf1244089f236811db8..b56ae8c4b73e9259e97a00b7a96bb47c06eaf2dc 100644
--- a/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
+++ b/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
@@ -8,11 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "webrtc/p2p/quic/quicconnectionhelper.h"
#include "net/quic/quic_time.h"
#include "webrtc/base/gunit.h"
-#include "webrtc/base/scoped_ptr.h"
using cricket::QuicAlarm;
using cricket::QuicConnectionHelper;
@@ -89,7 +90,7 @@ class QuicAlarmTest : public ::testing::Test {
// Used for setting clock time relative to alarm.
MockClock clock_;
- rtc::scoped_ptr<QuicAlarm> alarm_;
+ std::unique_ptr<QuicAlarm> alarm_;
};
// Test that the alarm is fired.
« no previous file with comments | « webrtc/p2p/client/portallocator_unittest.cc ('k') | webrtc/p2p/quic/quicsession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698