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..429e8a55665e976e9ec6808ce4a0ffd92a60f283 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_ = IPC::SyncChannel::CreateServer( |
channel_id_, |
- IPC::Channel::MODE_SERVER, |
this, |
io_message_loop, |
false, |
- shutdown_event)); |
+ shutdown_event); |
filter_ = |
new GpuChannelMessageFilter(weak_factory_.GetWeakPtr(), |