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

Unified Diff: media/mojo/services/service_factory_impl.cc

Issue 2282633002: Integrate Surface requests with MediaPlayerRenderer (Closed)
Patch Set: Addressed last comments Created 4 years, 2 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/mojo_renderer_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/service_factory_impl.cc
diff --git a/media/mojo/services/service_factory_impl.cc b/media/mojo/services/service_factory_impl.cc
index b93b17dd8d36d4e22e9fd276caad235cac012ffe..d069e0c8e5c7eec09f3d3bc5ff74ed8535bb49a2 100644
--- a/media/mojo/services/service_factory_impl.cc
+++ b/media/mojo/services/service_factory_impl.cc
@@ -105,11 +105,10 @@ void ServiceFactoryImpl::CreateRenderer(
return;
}
- mojo::MakeStrongBinding(
- base::MakeUnique<MojoRendererService>(
- cdm_service_context_.GetWeakPtr(), std::move(audio_sink),
- std::move(video_sink), std::move(renderer)),
- std::move(request));
+ MojoRendererService::Create(
+ cdm_service_context_.GetWeakPtr(), std::move(audio_sink),
+ std::move(video_sink), std::move(renderer),
+ MojoRendererService::InitiateSurfaceRequestCB(), std::move(request));
#endif // defined(ENABLE_MOJO_RENDERER)
}
« no previous file with comments | « media/mojo/services/mojo_renderer_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698