| Index: chrome/renderer/plugin_channel_host.cc
|
| diff --git a/chrome/renderer/plugin_channel_host.cc b/chrome/renderer/plugin_channel_host.cc
|
| index e010c56c0d1e9ccbebc4d2905548d1bd12abfa63..0befaab49f526c62465d78b357a61556a5ecfde3 100644
|
| --- a/chrome/renderer/plugin_channel_host.cc
|
| +++ b/chrome/renderer/plugin_channel_host.cc
|
| @@ -6,6 +6,10 @@
|
|
|
| #include "chrome/common/plugin_messages.h"
|
|
|
| +#if defined(OS_POSIX)
|
| +#include "chrome/common/ipc_channel_posix.h"
|
| +#endif
|
| +
|
| // A simple MessageFilter that will ignore all messages and respond to sync
|
| // messages with an error when is_listening_ is false.
|
| class IsListeningFilter : public IPC::ChannelProxy::MessageFilter {
|
| @@ -76,6 +80,9 @@ PluginChannelHost::PluginChannelHost() {
|
| }
|
|
|
| PluginChannelHost::~PluginChannelHost() {
|
| +#if defined(OS_POSIX)
|
| + IPC::RemoveAndCloseChannelSocket(channel_name());
|
| +#endif
|
| }
|
|
|
| bool PluginChannelHost::Init(MessageLoop* ipc_message_loop,
|
|
|