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

Unified Diff: media/test/pipeline_integration_test.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
Index: media/test/pipeline_integration_test.cc
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc
index 2a0e72a9bb72857cfd58fd310139a1df15e04fee..e7898d68f8849e79c9dffecd3ac4eb6bc75d1612 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -717,8 +717,8 @@ class PipelineIntegrationTestHost : public shell::test::ServiceTest,
media_service_factory_->CreateRenderer(std::string(),
mojo::GetProxy(&mojo_renderer));
- return base::WrapUnique(new MojoRenderer(message_loop_.task_runner(),
- std::move(mojo_renderer)));
+ return base::MakeUnique<MojoRenderer>(message_loop_.task_runner(),
+ std::move(mojo_renderer));
}
private:
« no previous file with comments | « media/renderers/mock_gpu_video_accelerator_factories.cc ('k') | media/test/pipeline_integration_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698