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

Unified Diff: chromecast/media/cma/test/frame_generator_for_test.cc

Issue 1875623002: Convert //chromecast 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
Index: chromecast/media/cma/test/frame_generator_for_test.cc
diff --git a/chromecast/media/cma/test/frame_generator_for_test.cc b/chromecast/media/cma/test/frame_generator_for_test.cc
index 20a8d795036e5ecbf0537e90da1b80dd33bdcaca..a656444958b11a6eabf6ff78e3381cf33c7cfc6e 100644
--- a/chromecast/media/cma/test/frame_generator_for_test.cc
+++ b/chromecast/media/cma/test/frame_generator_for_test.cc
@@ -97,11 +97,9 @@ scoped_refptr<DecoderBufferBase> FrameGeneratorForTest::Generate() {
0x0, 0x2, 0x1, 0x3, 0x5, 0x4, 0x7, 0x6,
0x9, 0x8, 0xb, 0xa, 0xd, 0xc, 0xf, 0xe };
- scoped_ptr< ::media::DecryptConfig> decrypt_config(
- new ::media::DecryptConfig(
- std::string(key_id, arraysize(key_id)),
- std::string(iv, arraysize(iv)),
- subsamples));
+ std::unique_ptr<::media::DecryptConfig> decrypt_config(
+ new ::media::DecryptConfig(std::string(key_id, arraysize(key_id)),
+ std::string(iv, arraysize(iv)), subsamples));
buffer->set_decrypt_config(std::move(decrypt_config));
}
« no previous file with comments | « chromecast/media/cma/pipeline/video_pipeline_impl.cc ('k') | chromecast/media/cma/test/frame_segmenter_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698