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

Unified Diff: media/cast/net/rtcp/test_rtcp_packet_builder.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/rtcp/test_rtcp_packet_builder.h ('k') | media/cast/net/rtp/cast_message_builder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/test_rtcp_packet_builder.cc
diff --git a/media/cast/net/rtcp/test_rtcp_packet_builder.cc b/media/cast/net/rtcp/test_rtcp_packet_builder.cc
index 48c9d59a12c4e7e924294c63ae8a6500911c311d..597ad410c501e82f2070926a3a9e98d13a2de619 100644
--- a/media/cast/net/rtcp/test_rtcp_packet_builder.cc
+++ b/media/cast/net/rtcp/test_rtcp_packet_builder.cc
@@ -229,9 +229,9 @@ void TestRtcpPacketBuilder::AddReceiverEventLog(uint16_t event_data,
big_endian_writer_.WriteU16(type_and_delta);
}
-scoped_ptr<media::cast::Packet> TestRtcpPacketBuilder::GetPacket() {
+std::unique_ptr<media::cast::Packet> TestRtcpPacketBuilder::GetPacket() {
PatchLengthField();
- return scoped_ptr<media::cast::Packet>(
+ return std::unique_ptr<media::cast::Packet>(
new media::cast::Packet(buffer_, buffer_ + Length()));
}
« no previous file with comments | « media/cast/net/rtcp/test_rtcp_packet_builder.h ('k') | media/cast/net/rtp/cast_message_builder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698