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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc

Issue 24514003: Make BrowserMessageFilter not derive from IPC::ChannelProxy::MessageFilter. This allows us to hide … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 3 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/pepper/browser_ppapi_host_impl.cc
===================================================================
--- content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (revision 225900)
+++ content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (working copy)
@@ -30,9 +30,9 @@
scoped_refptr<PepperMessageFilter> pepper_message_filter(
new PepperMessageFilter());
- channel->AddFilter(pepper_message_filter);
- channel->AddFilter(browser_ppapi_host->message_filter().get());
- channel->AddFilter(new TraceMessageFilter());
+ channel->AddFilter(pepper_message_filter->GetFilter());
+ channel->AddFilter(browser_ppapi_host->message_filter());
+ channel->AddFilter((new TraceMessageFilter())->GetFilter());
return browser_ppapi_host;
}
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698