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 98e45d6a13a3609dcd123f443c7b52a23bcfe362..be68742a843c3fcda1141d876da9713c96b45ad7 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -568,12 +568,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()); |