Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 1c8e4f95f3cb853e72a7ab1829288f19ed86b002..6262ed5e071c478ebf16be0d95bac09b16e175de 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -411,13 +411,12 @@ void GpuChannel::Init(base::MessageLoopProxy* io_message_loop, |
DCHECK(!channel_.get()); |
// Map renderer ID to a (single) channel to that process. |
- channel_.reset(new IPC::SyncChannel( |
- channel_id_, |
- IPC::Channel::MODE_SERVER, |
- this, |
- io_message_loop, |
- false, |
- shutdown_event)); |
+ channel_ = IPC::SyncChannel::Create(channel_id_, |
+ IPC::Channel::MODE_SERVER, |
+ this, |
+ io_message_loop, |
+ false, |
+ shutdown_event); |
filter_ = |
new GpuChannelMessageFilter(weak_factory_.GetWeakPtr(), |