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

Unified Diff: media/cast/receiver/video_decoder_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/receiver/video_decoder.cc ('k') | media/cast/sender/audio_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/receiver/video_decoder_unittest.cc
diff --git a/media/cast/receiver/video_decoder_unittest.cc b/media/cast/receiver/video_decoder_unittest.cc
index c92630f0b8f6e207807a75f84991fb9dc19af41a..8593c417392445e08497e66f05ddf060fd0244b7 100644
--- a/media/cast/receiver/video_decoder_unittest.cc
+++ b/media/cast/receiver/video_decoder_unittest.cc
@@ -86,7 +86,7 @@ class VideoDecoderTest : public ::testing::TestWithParam<Codec> {
PopulateVideoFrame(video_frame.get(), 0);
// Encode |frame| into |encoded_frame->data|.
- scoped_ptr<SenderEncodedFrame> encoded_frame(new SenderEncodedFrame());
+ std::unique_ptr<SenderEncodedFrame> encoded_frame(new SenderEncodedFrame());
// Test only supports VP8, currently.
CHECK_EQ(CODEC_VIDEO_VP8, GetParam());
vp8_encoder_.Encode(video_frame, reference_time, encoded_frame.get());
@@ -152,7 +152,7 @@ class VideoDecoderTest : public ::testing::TestWithParam<Codec> {
}
const scoped_refptr<StandaloneCastEnvironment> cast_environment_;
- scoped_ptr<VideoDecoder> video_decoder_;
+ std::unique_ptr<VideoDecoder> video_decoder_;
gfx::Size next_frame_size_;
base::TimeDelta next_frame_timestamp_;
uint32_t last_frame_id_;
« no previous file with comments | « media/cast/receiver/video_decoder.cc ('k') | media/cast/sender/audio_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698