Index: chrome/renderer/gpu_channel_host.cc |
diff --git a/chrome/renderer/gpu_channel_host.cc b/chrome/renderer/gpu_channel_host.cc |
index c59f2f17b181a19907a113ec434cce29eff00798..80baea93b89861e25fb456d6a7a963081bdc6243 100644 |
--- a/chrome/renderer/gpu_channel_host.cc |
+++ b/chrome/renderer/gpu_channel_host.cc |
@@ -16,10 +16,10 @@ GpuChannelHost::GpuChannelHost() : state_(kUnconnected) { |
GpuChannelHost::~GpuChannelHost() { |
} |
-void GpuChannelHost::Connect(const std::string& channel_name) { |
+void GpuChannelHost::Connect(const IPC::ChannelHandle& channel_handle) { |
// Open a channel to the GPU process. |
channel_.reset(new IPC::SyncChannel( |
- channel_name, IPC::Channel::MODE_CLIENT, this, |
+ channel_handle, IPC::Channel::MODE_CLIENT, this, |
ChildProcess::current()->io_message_loop(), true, |
ChildProcess::current()->GetShutDownEvent())); |