Index: gpu/ipc/client/gpu_channel_host.cc |
diff --git a/gpu/ipc/client/gpu_channel_host.cc b/gpu/ipc/client/gpu_channel_host.cc |
index aa22cdc6ab475c83b43122296d83ccbb9c1a9d60..50f9e78c2082deae9aa3069d65053a1b15e81747 100644 |
--- a/gpu/ipc/client/gpu_channel_host.cc |
+++ b/gpu/ipc/client/gpu_channel_host.cc |
@@ -70,7 +70,6 @@ GpuChannelHost::GpuChannelHost( |
gpu_memory_buffer_manager_(gpu_memory_buffer_manager) { |
next_image_id_.GetNext(); |
next_route_id_.GetNext(); |
- next_stream_id_.GetNext(); |
} |
void GpuChannelHost::Connect(const IPC::ChannelHandle& channel_handle, |
@@ -245,13 +244,6 @@ int32_t GpuChannelHost::GenerateRouteID() { |
return next_route_id_.GetNext(); |
} |
-int32_t GpuChannelHost::GenerateStreamID() { |
- const int32_t stream_id = next_stream_id_.GetNext(); |
- DCHECK_NE(gpu::GPU_STREAM_INVALID, stream_id); |
- DCHECK_NE(gpu::GPU_STREAM_DEFAULT, stream_id); |
- return stream_id; |
-} |
- |
uint32_t GpuChannelHost::ValidateFlushIDReachedServer(int32_t stream_id, |
bool force_validate) { |
// Store what flush ids we will be validating for all streams. |