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

Unified Diff: media/blink/webmediaplayer_impl_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/base/stream_parser_buffer.cc ('k') | media/capture/video/fake_video_capture_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl_unittest.cc
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc
index 4f7827cc579ffca316371c54b8f53b4d7a88a860..dd9d267aeb873e911903b121c302d74bf0e4087b 100644
--- a/media/blink/webmediaplayer_impl_unittest.cc
+++ b/media/blink/webmediaplayer_impl_unittest.cc
@@ -123,8 +123,8 @@ class WebMediaPlayerImplTest : public testing::Test {
wmpi_.reset(new WebMediaPlayerImpl(
web_local_frame_, &client_, nullptr, delegate_.AsWeakPtr(),
- base::WrapUnique(new DefaultRendererFactory(
- media_log_, nullptr, DefaultRendererFactory::GetGpuFactoriesCB())),
+ base::MakeUnique<DefaultRendererFactory>(
+ media_log_, nullptr, DefaultRendererFactory::GetGpuFactoriesCB()),
url_index_,
WebMediaPlayerParams(
WebMediaPlayerParams::DeferLoadCB(),
« no previous file with comments | « media/base/stream_parser_buffer.cc ('k') | media/capture/video/fake_video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698