Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index 7e3201830881d0dcdbb4db9b22aa6fdf829d4891..e88bb5d0e72abd0e508fb4b1c1fc96833e6d9699 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_ = Channel::CreateByModeForProxy(handle, mode, this); |
} |
bool ChannelProxy::Context::TryFilters(const Message& message) { |