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

Unified Diff: webrtc/p2p/quic/reliablequicstream_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/quic/quictransportchannel_unittest.cc ('k') | webrtc/p2p/stunprober/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/reliablequicstream_unittest.cc
diff --git a/webrtc/p2p/quic/reliablequicstream_unittest.cc b/webrtc/p2p/quic/reliablequicstream_unittest.cc
index b8875894576a0f1836cdc84ca8c6df57bacca6c9..9f55c911cc7161bf80b0537777a24077ac9beaa3 100644
--- a/webrtc/p2p/quic/reliablequicstream_unittest.cc
+++ b/webrtc/p2p/quic/reliablequicstream_unittest.cc
@@ -10,6 +10,7 @@
#include "webrtc/p2p/quic/reliablequicstream.h"
+#include <memory>
#include <string>
#include "net/base/ip_address_number.h"
@@ -181,8 +182,8 @@ class ReliableQuicStreamTest : public ::testing::Test,
}
protected:
- rtc::scoped_ptr<ReliableQuicStream> stream_;
- rtc::scoped_ptr<MockQuicSession> session_;
+ std::unique_ptr<ReliableQuicStream> stream_;
+ std::unique_ptr<MockQuicSession> session_;
// Data written by the ReliableQuicStream.
std::string write_buffer_;
« no previous file with comments | « webrtc/p2p/quic/quictransportchannel_unittest.cc ('k') | webrtc/p2p/stunprober/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698