Index: chrome/plugin/plugin_channel_base.cc |
diff --git a/chrome/plugin/plugin_channel_base.cc b/chrome/plugin/plugin_channel_base.cc |
index e251e9e57a3fe731ee2c826c2ff7d0774241d992..3c431247c8e7a30469ca132028a283a3636ef483 100644 |
--- a/chrome/plugin/plugin_channel_base.cc |
+++ b/chrome/plugin/plugin_channel_base.cc |
@@ -44,7 +44,7 @@ PluginChannelBase* PluginChannelBase::GetChannel( |
if (!channel->channel_valid()) { |
channel->channel_handle_ = channel_handle; |
- if (mode == IPC::Channel::MODE_SERVER) { |
+ if (mode & IPC::Channel::MODE_SERVER_FLAG) { |
channel->channel_handle_.name.append("."); |
channel->channel_handle_.name.append(base::IntToString(next_pipe_id++)); |
} |