summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_host_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/child_process_host_impl.cc')
-rw-r--r--content/common/child_process_host_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
index 1dccab0..9ae7c82 100644
--- a/content/common/child_process_host_impl.cc
+++ b/content/common/child_process_host_impl.cc
@@ -164,7 +164,8 @@ void ChildProcessHostImpl::ForceShutdown() {
std::string ChildProcessHostImpl::CreateChannel() {
channel_id_ = IPC::Channel::GenerateVerifiedChannelID(std::string());
- channel_ = IPC::Channel::CreateServer(channel_id_, this);
+ channel_.reset(new IPC::Channel(
+ channel_id_, IPC::Channel::MODE_SERVER, this));
if (!channel_->Connect())
return std::string();