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

Unified Diff: remoting/codec/video_encoder_verbatim_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/codec/video_encoder_verbatim.cc ('k') | remoting/codec/video_encoder_vpx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/video_encoder_verbatim_unittest.cc
diff --git a/remoting/codec/video_encoder_verbatim_unittest.cc b/remoting/codec/video_encoder_verbatim_unittest.cc
index a294d7bdd5cbfb8b15d711482b8c76e6fdebb131..0acdff98f29b44ca8481c973717b5770159d0291 100644
--- a/remoting/codec/video_encoder_verbatim_unittest.cc
+++ b/remoting/codec/video_encoder_verbatim_unittest.cc
@@ -11,18 +11,18 @@
namespace remoting {
TEST(VideoEncoderVerbatimTest, TestVideoEncoder) {
- scoped_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
+ std::unique_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
TestVideoEncoder(encoder.get(), true);
}
TEST(VideoEncoderVerbatimTest, EncodeAndDecode) {
- scoped_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
- scoped_ptr<VideoDecoderVerbatim> decoder(new VideoDecoderVerbatim());
+ std::unique_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
+ std::unique_ptr<VideoDecoderVerbatim> decoder(new VideoDecoderVerbatim());
TestVideoEncoderDecoder(encoder.get(), decoder.get(), true);
}
TEST(VideoEncoderVerbatimTest, EncodeUnchangedFrame) {
- scoped_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
+ std::unique_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
TestVideoEncoderEmptyFrames(encoder.get(), 0);
}
« no previous file with comments | « remoting/codec/video_encoder_verbatim.cc ('k') | remoting/codec/video_encoder_vpx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698