Index: content/browser/plugin_process_host.cc |
=================================================================== |
--- content/browser/plugin_process_host.cc (revision 225900) |
+++ content/browser/plugin_process_host.cc (working copy) |
@@ -265,7 +265,7 @@ |
ResourceMessageFilter* resource_message_filter = new ResourceMessageFilter( |
process_->GetData().id, PROCESS_TYPE_PLUGIN, NULL, NULL, NULL, |
get_contexts_callback); |
- process_->GetHost()->AddFilter(resource_message_filter); |
+ process_->AddFilter(resource_message_filter); |
return true; |
} |
@@ -275,10 +275,6 @@ |
process_->ForceShutdown(); |
} |
-void PluginProcessHost::AddFilter(IPC::ChannelProxy::MessageFilter* filter) { |
- process_->GetHost()->AddFilter(filter); |
-} |
- |
bool PluginProcessHost::OnMessageReceived(const IPC::Message& msg) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(PluginProcessHost, msg) |