Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 459c5ec87f1cdf6330963902da6559d2638931f7..2bc36ba86a0dbeba2097f733a80b6c0342f35b31 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -286,6 +286,14 @@ int GpuChannel::GenerateRouteID() { |
return ++last_id; |
} |
+void GpuChannel::AddRoute(int32 route_id, IPC::Channel::Listener* listener) { |
+ router_.AddRoute(route_id, listener); |
+} |
+ |
+void GpuChannel::RemoveRoute(int32 route_id) { |
+ router_.RemoveRoute(route_id); |
+} |
+ |
void GpuChannel::OnInitialize(base::ProcessHandle renderer_process) { |
// Initialize should only happen once. |
DCHECK(!renderer_process_); |