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

Unified Diff: media/audio/fake_audio_log_factory.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/audio/fake_audio_input_stream.cc ('k') | media/base/android/media_codec_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/fake_audio_log_factory.cc
diff --git a/media/audio/fake_audio_log_factory.cc b/media/audio/fake_audio_log_factory.cc
index c60630e2098a1d139ded0e0886b6ea658fbf256c..a7c083292addbbee1d36fa9d58e9c37665c93550 100644
--- a/media/audio/fake_audio_log_factory.cc
+++ b/media/audio/fake_audio_log_factory.cc
@@ -32,7 +32,7 @@ FakeAudioLogFactory::~FakeAudioLogFactory() {}
std::unique_ptr<AudioLog> FakeAudioLogFactory::CreateAudioLog(
AudioComponent component) {
- return base::WrapUnique(new FakeAudioLogImpl());
+ return base::MakeUnique<FakeAudioLogImpl>();
}
} // namespace media
« no previous file with comments | « media/audio/fake_audio_input_stream.cc ('k') | media/base/android/media_codec_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698