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

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

Issue 1993173002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/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 914a461b1073d0cc0b1516078a0be2a392a3b318..ad060be56203f1f5ffc2a297fc366cdf21bdbf7a 100644
--- a/media/mojo/services/service_factory_impl.cc
+++ b/media/mojo/services/service_factory_impl.cc
@@ -32,10 +32,15 @@ ServiceFactoryImpl::ServiceFactoryImpl(
std::unique_ptr<shell::ShellConnectionRef> connection_ref,
MojoMediaClient* mojo_media_client)
: binding_(this, std::move(request)),
+#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)),
- mojo_media_client_(mojo_media_client) {
+ connection_ref_(std::move(connection_ref)) {
DVLOG(1) << __FUNCTION__;
}
« media/cast/sender/audio_encoder.cc ('K') | « 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