Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index a91a9d9f25c64817e92b540717801b7ce2ac9ea3..b00b903f7609c0a51e7b6326255d26a3daaec1dc 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -64,6 +64,7 @@ |
#include "content/renderer/media/audio_renderer_mixer_manager.h" |
#include "content/renderer/media/media_stream_center.h" |
#include "content/renderer/media/media_stream_dependency_factory.h" |
+#include "content/renderer/media/midi_message_filter.h" |
#include "content/renderer/media/peer_connection_tracker.h" |
#include "content/renderer/media/video_capture_impl_manager.h" |
#include "content/renderer/media/video_capture_message_filter.h" |
@@ -366,6 +367,9 @@ void RenderThreadImpl::Init() { |
audio_message_filter_ = new AudioMessageFilter(GetIOMessageLoopProxy()); |
AddFilter(audio_message_filter_.get()); |
+ midi_message_filter_ = new MIDIMessageFilter(GetIOMessageLoopProxy()); |
+ AddFilter(midi_message_filter_.get()); |
+ |
AddFilter(new IndexedDBMessageFilter); |
GetContentClient()->renderer()->RenderThreadStarted(); |