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 65268c19c54b3c7d422694e33bbfc210ab9ae4ae..20b7b997fef403ff292bc885120ed1cb95e31a2e 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -73,6 +73,7 @@ |
#include "content/browser/renderer_host/media/audio_mirroring_manager.h" |
#include "content/browser/renderer_host/media/audio_renderer_host.h" |
#include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" |
+#include "content/browser/renderer_host/media/midi_host.h" |
#include "content/browser/renderer_host/media/peer_connection_tracker_host.h" |
#include "content/browser/renderer_host/media/video_capture_host.h" |
#include "content/browser/renderer_host/memory_benchmark_message_filter.h" |
@@ -604,6 +605,8 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
GetID(), audio_manager, |
BrowserMainLoop::GetInstance()->audio_mirroring_manager(), |
media_internals, media_stream_manager)); |
+ channel_->AddFilter( |
+ new MIDIHost(BrowserMainLoop::GetInstance()->midi_manager())); |
channel_->AddFilter(new VideoCaptureHost(media_stream_manager)); |
channel_->AddFilter(new AppCacheDispatcherHost( |
storage_partition_impl_->GetAppCacheService(), |