Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 657613003: RenderHostImpl::AddRoute - Turn a DCHECK to CHECK() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 717877410e36859f4c56328a7b64c1d67c30e94b..a6ad6a94de48b5ba49edb54f36792d08b5f29895 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -921,7 +921,7 @@ ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() {
void RenderProcessHostImpl::AddRoute(
int32 routing_id,
IPC::Listener* listener) {
- DCHECK(widget_helper_->IsRoutingIDProbablyValid(routing_id))
+ CHECK(widget_helper_->IsRoutingIDProbablyValid(routing_id))
<< "Found Routing ID conflicts: " << routing_id;
nasko 2014/10/14 18:49:33 Should we add the previous CHECK we had too? I kno
Hajime Morrita 2014/10/14 19:36:55 I worried to get as many crashes as before but tru
nasko 2014/10/14 20:54:16 That's fine, at least we will know the relative am
listeners_.AddWithID(listener, routing_id);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698