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

Unified Diff: media/cast/net/rtp/rtp_packetizer_unittest.cc

Issue 1905763002: Convert //media/cast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « media/cast/net/rtp/framer.h ('k') | media/cast/net/rtp/rtp_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/rtp_packetizer_unittest.cc
diff --git a/media/cast/net/rtp/rtp_packetizer_unittest.cc b/media/cast/net/rtp/rtp_packetizer_unittest.cc
index d4ee96a9590dd8ab099e3deef91f66cab6cb07e0..47dffd91fee8fd56f3a8d74010bf74c539cb5fec 100644
--- a/media/cast/net/rtp/rtp_packetizer_unittest.cc
+++ b/media/cast/net/rtp/rtp_packetizer_unittest.cc
@@ -7,8 +7,9 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/simple_test_tick_clock.h"
#include "media/base/fake_single_thread_task_runner.h"
#include "media/cast/net/pacing/paced_sender.h"
@@ -144,9 +145,9 @@ class RtpPacketizerTest : public ::testing::Test {
EncodedFrame video_frame_;
PacketStorage packet_storage_;
RtpPacketizerConfig config_;
- scoped_ptr<TestRtpPacketTransport> transport_;
- scoped_ptr<PacedSender> pacer_;
- scoped_ptr<RtpPacketizer> rtp_packetizer_;
+ std::unique_ptr<TestRtpPacketTransport> transport_;
+ std::unique_ptr<PacedSender> pacer_;
+ std::unique_ptr<RtpPacketizer> rtp_packetizer_;
private:
DISALLOW_COPY_AND_ASSIGN(RtpPacketizerTest);
« no previous file with comments | « media/cast/net/rtp/framer.h ('k') | media/cast/net/rtp/rtp_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698