Index: content/common/gpu/client/gpu_channel_host.cc |
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc |
index 41e3580713563e754df40142056cb34d61d2714c..a8de9005973fc320f5585b8ac298604ed78cf669 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -44,10 +44,12 @@ void GpuChannelHost::Connect( |
// 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_.reset(new IPC::SyncChannel( |
- channel_handle, IPC::Channel::MODE_CLIENT, NULL, |
- io_loop, true, |
- factory_->GetShutDownEvent())); |
+ channel_.reset(new IPC::SyncChannel(channel_handle, |
+ IPC::Channel::MODE_CLIENT, |
+ NULL, |
+ io_loop.get(), |
+ true, |
+ factory_->GetShutDownEvent())); |
sync_filter_ = new IPC::SyncMessageFilter( |
factory_->GetShutDownEvent()); |