| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 35ff7d1f00e575356562345e939f915a78ee9e32..f92c1c14a6af690d3351660026d4ea1aaa909266 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -920,6 +920,7 @@ ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() {
|
| void RenderProcessHostImpl::AddRoute(
|
| int32 routing_id,
|
| IPC::Listener* listener) {
|
| + DCHECK(widget_helper_->IsRoutingIDProbablyValid(routing_id));
|
| listeners_.AddWithID(listener, routing_id);
|
| }
|
|
|
|
|