Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 5ef04cc1032fd7c1689eefae27d0dcd501b7a8dd..7843ed149fdb834fb00c750f9e9d2d3f86733d53 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" |
@@ -392,6 +393,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(); |