Index: trunk/src/content/common/gpu/client/gpu_channel_host.cc |
=================================================================== |
--- trunk/src/content/common/gpu/client/gpu_channel_host.cc (revision 274314) |
+++ trunk/src/content/common/gpu/client/gpu_channel_host.cc (working copy) |
@@ -73,8 +73,12 @@ |
// Open a channel to the GPU process. We pass NULL as the main listener here |
// since we need to filter everything to route it to the right thread. |
scoped_refptr<base::MessageLoopProxy> io_loop = factory_->GetIOLoopProxy(); |
- channel_ = IPC::SyncChannel::CreateClient( |
- channel_handle, NULL, io_loop.get(), true, shutdown_event); |
+ channel_.reset(new IPC::SyncChannel(channel_handle, |
+ IPC::Channel::MODE_CLIENT, |
+ NULL, |
+ io_loop.get(), |
+ true, |
+ shutdown_event)); |
sync_filter_ = new IPC::SyncMessageFilter(shutdown_event); |