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..1dccab0838504ffffcf51186cfaf5d23b451b06d 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_ = IPC::Channel::CreateServer(channel_id_, this); |
if (!channel_->Connect()) |
return std::string(); |