Index: trunk/src/content/common/gpu/gpu_channel.cc |
=================================================================== |
--- trunk/src/content/common/gpu/gpu_channel.cc (revision 274314) |
+++ trunk/src/content/common/gpu/gpu_channel.cc (working copy) |
@@ -411,12 +411,13 @@ |
DCHECK(!channel_.get()); |
// Map renderer ID to a (single) channel to that process. |
- channel_ = IPC::SyncChannel::CreateServer( |
+ channel_.reset(new IPC::SyncChannel( |
channel_id_, |
+ IPC::Channel::MODE_SERVER, |
this, |
io_message_loop, |
false, |
- shutdown_event); |
+ shutdown_event)); |
filter_ = |
new GpuChannelMessageFilter(weak_factory_.GetWeakPtr(), |