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

Unified Diff: content/browser/renderer_host/media/device_request_message_filter.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/device_request_message_filter.cc
diff --git a/content/browser/renderer_host/media/device_request_message_filter.cc b/content/browser/renderer_host/media/device_request_message_filter.cc
index 0c34b53a6799099897e5c89dfbbf2a3736e3551a..89e632f07d8253e9b506789952e9efce3779a9e8 100644
--- a/content/browser/renderer_host/media/device_request_message_filter.cc
+++ b/content/browser/renderer_host/media/device_request_message_filter.cc
@@ -23,8 +23,7 @@ namespace content {
DeviceRequestMessageFilter::DeviceRequestMessageFilter(
ResourceContext* resource_context,
MediaStreamManager* media_stream_manager)
- : BrowserMessageFilter(MediaStreamMsgStart),
- resource_context_(resource_context),
+ : resource_context_(resource_context),
media_stream_manager_(media_stream_manager) {
DCHECK(resource_context);
DCHECK(media_stream_manager);

Powered by Google App Engine
This is Rietveld 408576698