Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 49aa1278a8a7c38ae85f498ebd589183f3b4d41c..8a06ad290259440c92f112c16670abb1b1be66de 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -569,12 +569,11 @@ bool RenderProcessHostImpl::Init() { |
// Setup the IPC channel. |
const std::string channel_id = |
IPC::Channel::GenerateVerifiedChannelID(std::string()); |
- channel_.reset( |
- new IPC::ChannelProxy(channel_id, |
- IPC::Channel::MODE_SERVER, |
- this, |
- BrowserThread::GetMessageLoopProxyForThread( |
- BrowserThread::IO).get())); |
+ channel_ = IPC::ChannelProxy::Create( |
+ channel_id, |
+ IPC::Channel::MODE_SERVER, |
+ this, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()); |
// Setup the Mojo channel. |
mojo_application_host_.reset(new MojoApplicationHost()); |