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

Unified Diff: media/mojo/services/main.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/mojo/services/android_mojo_media_client.cc ('k') | media/mojo/services/mojo_cdm_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/main.cc
diff --git a/media/mojo/services/main.cc b/media/mojo/services/main.cc
index 6b78cde58a3592d9fe41985d1e64698787d476e8..24b50cea4a0276789816311b423ef3976d3a46ed 100644
--- a/media/mojo/services/main.cc
+++ b/media/mojo/services/main.cc
@@ -32,7 +32,7 @@ MojoResult ServiceMain(MojoHandle mojo_handle) {
logging::InitLogging(settings);
shell::ServiceRunner runner(new media::MojoMediaApplication(
- base::WrapUnique(new media::TestMojoMediaClient()),
+ base::MakeUnique<media::TestMojoMediaClient>(),
base::Bind(&QuitApplication)));
g_runner = &runner;
return runner.Run(mojo_handle, false /* init_base */);
« no previous file with comments | « media/mojo/services/android_mojo_media_client.cc ('k') | media/mojo/services/mojo_cdm_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698