Index: content/common/child_process_host_impl.cc |
diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc |
index 9ae7c82d6724260f76620f2454127313e77518de..8dbf5d7c38262e08c6cda9e10ab8ec154fa22363 100644 |
--- a/content/common/child_process_host_impl.cc |
+++ b/content/common/child_process_host_impl.cc |
@@ -164,8 +164,7 @@ void ChildProcessHostImpl::ForceShutdown() { |
std::string ChildProcessHostImpl::CreateChannel() { |
channel_id_ = IPC::Channel::GenerateVerifiedChannelID(std::string()); |
- channel_.reset(new IPC::Channel( |
- channel_id_, IPC::Channel::MODE_SERVER, this)); |
+ channel_.reset(IPC::Channel::CreateServer(channel_id_, this)); |
if (!channel_->Connect()) |
return std::string(); |