Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index 7e3201830881d0dcdbb4db9b22aa6fdf829d4891..6e73dd4e102f9d268c6aaa5e2e0499084ab6ede8 100644 |
--- a/ipc/ipc_channel_proxy.cc |
+++ b/ipc/ipc_channel_proxy.cc |
@@ -52,7 +52,7 @@ void ChannelProxy::Context::CreateChannel(const IPC::ChannelHandle& handle, |
const Channel::Mode& mode) { |
DCHECK(!channel_); |
channel_id_ = handle.name; |
- channel_.reset(new Channel(handle, mode, this)); |
+ channel_.reset(Channel::CreateByModeForProxy(handle, mode, this)); |
} |
bool ChannelProxy::Context::TryFilters(const Message& message) { |