Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index e6976ac176121bd1ea0eb2958416571455cd09e9..d0f0a54e6630d1fe59e50c3a6fd31320861a7c09 100644 |
--- a/ipc/ipc_channel_proxy.cc |
+++ b/ipc/ipc_channel_proxy.cc |
@@ -307,7 +307,7 @@ void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle, |
// to be created immediately so that it can be accessed and passed |
// to other processes. Forcing it to be created immediately avoids |
// race conditions that may otherwise arise. |
- if (mode == Channel::MODE_SERVER || mode == Channel::MODE_NAMED_SERVER) { |
+ if (mode & Channel::MODE_SERVER_FLAG) { |
create_pipe_now = true; |
} |
#endif // defined(OS_POSIX) |