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

Unified Diff: webrtc/media/base/rtpdump_unittest.cc

Issue 1728503002: Replace scoped_ptr with unique_ptr in webrtc/media/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up1
Patch Set: Created 4 years, 10 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/media/base/rtpdataengine_unittest.cc ('k') | webrtc/media/base/testutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/rtpdump_unittest.cc
diff --git a/webrtc/media/base/rtpdump_unittest.cc b/webrtc/media/base/rtpdump_unittest.cc
index b1770e7471f02f545b73da80e527561a56561cb2..a5b79c9e946f9079232ad2ff89efb24db8960b80 100644
--- a/webrtc/media/base/rtpdump_unittest.cc
+++ b/webrtc/media/base/rtpdump_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/base/bytebuffer.h"
@@ -61,7 +62,7 @@ TEST(RtpDumpTest, ReadRtpDumpFile) {
RtpDumpPacket packet;
rtc::MemoryStream stream;
RtpDumpWriter writer(&stream);
- rtc::scoped_ptr<RtpDumpReader> reader;
+ std::unique_ptr<RtpDumpReader> reader;
// Write a RTP packet to the stream, which is a valid RTP dump. Next, we will
// change the first line to make the RTP dump valid or invalid.
« no previous file with comments | « webrtc/media/base/rtpdataengine_unittest.cc ('k') | webrtc/media/base/testutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698