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 705f4b9dc35af257623adf91e73eedd5d5a93c20..72f80f1af0bfa872f00feffc252213d3bbd532f1 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -35,12 +35,11 @@ GpuListenerInfo::~GpuListenerInfo() {} |
// static |
scoped_refptr<GpuChannelHost> GpuChannelHost::Create( |
GpuChannelHostFactory* factory, |
- int gpu_host_id, |
const gpu::GPUInfo& gpu_info, |
const IPC::ChannelHandle& channel_handle) { |
DCHECK(factory->IsMainThread()); |
scoped_refptr<GpuChannelHost> host = new GpuChannelHost( |
- factory, gpu_host_id, gpu_info); |
+ factory, gpu_info); |
host->Connect(channel_handle); |
return host; |
} |
@@ -60,10 +59,8 @@ bool GpuChannelHost::IsValidGpuMemoryBuffer( |
} |
GpuChannelHost::GpuChannelHost(GpuChannelHostFactory* factory, |
- int gpu_host_id, |
const gpu::GPUInfo& gpu_info) |
: factory_(factory), |
- gpu_host_id_(gpu_host_id), |
gpu_info_(gpu_info) { |
next_transfer_buffer_id_.GetNext(); |
next_gpu_memory_buffer_id_.GetNext(); |