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

Unified Diff: content/browser/renderer_host/gpu_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/renderer_host/gpu_message_filter.cc
diff --git a/content/browser/renderer_host/gpu_message_filter.cc b/content/browser/renderer_host/gpu_message_filter.cc
index 4dc49bb1f6ba55c06966b846994234cf9d989866..8a14cf6da1ad4b78f27f108c066d9cb30e2ecb12 100644
--- a/content/browser/renderer_host/gpu_message_filter.cc
+++ b/content/browser/renderer_host/gpu_message_filter.cc
@@ -54,7 +54,8 @@ struct GpuMessageFilter::FrameSubscription {
GpuMessageFilter::GpuMessageFilter(int render_process_id,
RenderWidgetHelper* render_widget_helper)
- : gpu_process_id_(0),
+ : BrowserMessageFilter(GpuMsgStart),
+ gpu_process_id_(0),
render_process_id_(render_process_id),
share_contexts_(false),
render_widget_helper_(render_widget_helper),

Powered by Google App Engine
This is Rietveld 408576698