| Index: content/renderer/gpu/gpu_channel_host.cc
|
| diff --git a/content/renderer/gpu/gpu_channel_host.cc b/content/renderer/gpu/gpu_channel_host.cc
|
| index 9229183ab11c97249421be6fe25e88767fca7f12..abd5f43d8d69320a1e0989690a07a0b197d768f7 100644
|
| --- a/content/renderer/gpu/gpu_channel_host.cc
|
| +++ b/content/renderer/gpu/gpu_channel_host.cc
|
| @@ -179,6 +179,15 @@ CommandBufferProxy* GpuChannelHost::CreateOffscreenCommandBuffer(
|
| #endif
|
| }
|
|
|
| +void GpuChannelHost::AddRoute(int32 route_id,
|
| + IPC::Channel::Listener* listener) {
|
| + router_.AddRoute(route_id, listener);
|
| +}
|
| +
|
| +void GpuChannelHost::RemoveRoute(int32 route_id) {
|
| + router_.RemoveRoute(route_id);
|
| +}
|
| +
|
| void GpuChannelHost::DestroyCommandBuffer(CommandBufferProxy* command_buffer) {
|
| #if defined(ENABLE_GPU)
|
| Send(new GpuChannelMsg_DestroyCommandBuffer(command_buffer->route_id()));
|
|
|