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

Unified Diff: content/browser/frame_host/render_frame_message_filter.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/frame_host/render_frame_message_filter.cc
diff --git a/content/browser/frame_host/render_frame_message_filter.cc b/content/browser/frame_host/render_frame_message_filter.cc
index 5abc4f2c403c4088172db469ce3798c61ec85437..b7d00e6a73ea0687e2c5471a673b2967c8085f0e 100644
--- a/content/browser/frame_host/render_frame_message_filter.cc
+++ b/content/browser/frame_host/render_frame_message_filter.cc
@@ -31,7 +31,8 @@ void CreateChildFrameOnUI(int process_id,
RenderFrameMessageFilter::RenderFrameMessageFilter(
int render_process_id,
RenderWidgetHelper* render_widget_helper)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(FrameMsgStart),
+ render_process_id_(render_process_id),
render_widget_helper_(render_widget_helper) {
}
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/browser/geolocation/geolocation_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698