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

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

Issue 2067073002: media: Run mojo media application in GPU process on desktop by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: media: Run mojo media application in GPU process on desktop by default Created 4 years, 6 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/service_factory_impl.h ('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 0b811b38844dbc437e7f48bf9d2ec03f7a7d3ee8..adc5107c59b9af695f5045f91a16dfb3b61bdaaf 100644
--- a/media/mojo/services/service_factory_impl.cc
+++ b/media/mojo/services/service_factory_impl.cc
@@ -40,13 +40,11 @@ ServiceFactoryImpl::ServiceFactoryImpl(
#if defined(ENABLE_MOJO_CDM)
interfaces_(interfaces),
#endif
-#if defined(ENABLE_MOJO_AUDIO_DECODER) || defined(ENABLE_MOJO_CDM) || \
- defined(ENABLE_MOJO_RENDERER)
- mojo_media_client_(mojo_media_client),
-#endif
media_log_(media_log),
- connection_ref_(std::move(connection_ref)) {
+ connection_ref_(std::move(connection_ref)),
+ mojo_media_client_(mojo_media_client) {
DVLOG(1) << __FUNCTION__;
+ DCHECK(mojo_media_client_);
}
ServiceFactoryImpl::~ServiceFactoryImpl() {
« no previous file with comments | « media/mojo/services/service_factory_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698