summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_channel_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/plugin_channel_base.cc')
-rw-r--r--chrome/plugin/plugin_channel_base.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/plugin/plugin_channel_base.cc b/chrome/plugin/plugin_channel_base.cc
index 1cb3111..fec5bd4 100644
--- a/chrome/plugin/plugin_channel_base.cc
+++ b/chrome/plugin/plugin_channel_base.cc
@@ -33,6 +33,7 @@
#include "chrome/plugin/plugin_channel_base.h"
#include "chrome/common/ipc_sync_message.h"
+#include "chrome/plugin/plugin_process.h"
typedef stdext::hash_map<std::wstring, scoped_refptr<PluginChannelBase> >
PluginChannelMap;
@@ -100,8 +101,9 @@ void PluginChannelBase::CleanupChannels() {
bool PluginChannelBase::Init(MessageLoop* ipc_message_loop,
bool create_pipe_now) {
- channel_.reset(new IPC::SyncChannel(channel_name_, mode_, this,
- ipc_message_loop, create_pipe_now));
+ channel_.reset(new IPC::SyncChannel(channel_name_, mode_, this, NULL,
+ ipc_message_loop, create_pipe_now,
+ PluginProcess::GetShutDownEvent()));
channel_valid_ = true;
return true;
}