Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 4a8c291f4f0027aa897444ea5055140e8db61d3c..570501aba4d46597b59cc561924dafbaf331c855 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -79,6 +79,7 @@ |
#include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
#include "content/browser/loader/resource_message_filter.h" |
#include "content/browser/loader/resource_scheduler_filter.h" |
+#include "content/browser/media/audio_output_impl.h" |
#include "content/browser/media/capture/audio_mirroring_manager.h" |
#include "content/browser/media/media_internals.h" |
#include "content/browser/media/midi_host.h" |
@@ -1079,6 +1080,10 @@ void RenderProcessHostImpl::RegisterMojoServices() { |
base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService, |
base::Unretained(this))); |
+ AudioOutputImpl* audio_output_impl; |
+ mojo_application_host_->service_registry()->AddService( |
+ base::Bind(&AudioOutputImpl::CreateService, audio_renderer_host_, &audio_output_impl)); |
+ |
#if defined(OS_ANDROID) |
ServiceRegistrarAndroid::RegisterProcessHostServices( |
mojo_application_host_->service_registry_android()); |