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

Unified Diff: services/media/factory_service/media_sink_impl.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased 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: services/media/factory_service/media_sink_impl.cc
diff --git a/services/media/factory_service/media_sink_impl.cc b/services/media/factory_service/media_sink_impl.cc
index e6bbeec8402f52a09b34f49d3350a8cd60a0ad16..dc5854337d006efdc5a3b23bebf986f9c915c032 100644
--- a/services/media/factory_service/media_sink_impl.cc
+++ b/services/media/factory_service/media_sink_impl.cc
@@ -67,7 +67,7 @@ MediaSinkImpl::MediaSinkImpl(const String& destination_url,
// An AudioTrackController knows how to talk to an audio track, interrogating
// it for supported stream types and configuring it for the chosen stream
// type.
- controller_.reset(new AudioTrackController(destination_url, app()));
+ controller_.reset(new AudioTrackController(destination_url, owner->shell()));
controller_->GetSupportedMediaTypes([this, consumer_ref, producer_ref,
captured_stream_type](
« no previous file with comments | « services/media/factory_service/media_sink_impl.h ('k') | services/media/factory_service/network_reader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698