diff options
Diffstat (limited to 'chrome/gpu/gpu_channel.cc')
-rw-r--r-- | chrome/gpu/gpu_channel.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/gpu/gpu_channel.cc b/chrome/gpu/gpu_channel.cc index 9b8095f..fc2c09c 100644 --- a/chrome/gpu/gpu_channel.cc +++ b/chrome/gpu/gpu_channel.cc @@ -89,8 +89,6 @@ void GpuChannel::OnControlMessageReceived(const IPC::Message& msg) { OnCreateOffscreenCommandBuffer) IPC_MESSAGE_HANDLER(GpuChannelMsg_DestroyCommandBuffer, OnDestroyCommandBuffer) - IPC_MESSAGE_HANDLER(GpuChannelMsg_GetVideoService, - OnGetVideoService) IPC_MESSAGE_HANDLER(GpuChannelMsg_CreateVideoDecoder, OnCreateVideoDecoder) IPC_MESSAGE_HANDLER(GpuChannelMsg_DestroyVideoDecoder, @@ -190,22 +188,6 @@ void GpuChannel::OnDestroyCommandBuffer(int32 route_id) { #endif } -void GpuChannel::OnGetVideoService(GpuVideoServiceInfoParam* info) { - info->service_available = 0; -#if defined(ENABLE_GPU) - LOG(INFO) << "GpuChannel::OnGetVideoService"; - GpuVideoService* service = GpuVideoService::get(); - if (service == NULL) - return; - - info->video_service_host_route_id = GenerateRouteID(); - info->video_service_route_id = GenerateRouteID(); - // TODO(jiesun): we could had multiple entries in this routing table. - router_.AddRoute(info->video_service_route_id, service); - info->service_available = 1; -#endif -} - void GpuChannel::OnCreateVideoDecoder(int32 context_route_id, int32 decoder_host_id) { #if defined(ENABLE_GPU) |