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

Unified Diff: content/browser/renderer_host/media/midi_host.cc

Issue 165333004: Revert "Allow MessageFilters to restrict listening to specific message classes" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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: content/browser/renderer_host/media/midi_host.cc
diff --git a/content/browser/renderer_host/media/midi_host.cc b/content/browser/renderer_host/media/midi_host.cc
index 3c09ba6e551e119b94a965afab8d3ce7f1fb6903..b6e26886db7902bbd0071a9bea3f86cc0f387b00 100644
--- a/content/browser/renderer_host/media/midi_host.cc
+++ b/content/browser/renderer_host/media/midi_host.cc
@@ -49,8 +49,7 @@ using media::kSysExByte;
using media::kEndOfSysExByte;
MidiHost::MidiHost(int renderer_process_id, media::MidiManager* midi_manager)
- : BrowserMessageFilter(MidiMsgStart),
- renderer_process_id_(renderer_process_id),
+ : renderer_process_id_(renderer_process_id),
has_sys_ex_permission_(false),
midi_manager_(midi_manager),
sent_bytes_in_flight_(0),

Powered by Google App Engine
This is Rietveld 408576698