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

Unified Diff: media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc

Issue 2253943004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/formats/mpeg/adts_stream_parser_unittest.cc ('k') | media/gpu/vt_video_decode_accelerator_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc
diff --git a/media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc b/media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc
index 8f2c879a59ea2346819e96086ee28fa80cd6e8ea..bfa80217a8f53d58933c2d9104e118b73ac959a6 100644
--- a/media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc
+++ b/media/formats/mpeg/mpeg1_audio_stream_parser_unittest.cc
@@ -19,7 +19,7 @@ class MPEG1AudioStreamParserTest
: public StreamParserTestBase, public testing::Test {
public:
MPEG1AudioStreamParserTest()
- : StreamParserTestBase(base::WrapUnique(new MPEG1AudioStreamParser())) {}
+ : StreamParserTestBase(base::MakeUnique<MPEG1AudioStreamParser>()) {}
};
// Test parsing with small prime sized chunks to smoke out "power of
« no previous file with comments | « media/formats/mpeg/adts_stream_parser_unittest.cc ('k') | media/gpu/vt_video_decode_accelerator_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698