diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc index f0b0a33da3ea2c..6fcb17275b7ea7 100644 --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc @@ -2642,9 +2642,7 @@ void RenderProcessHostImpl::CreateCodeCacheHost( // There should be at most one CodeCacheHostImpl for any given // RenderProcessHost. - if (!code_cache_host_receivers_.empty()) { - mojo::ReportBadMessage("CodeCacheHost is already bound"); - } + DCHECK(code_cache_host_receivers_.empty()); // Create a new CodeCacheHostImpl and bind it to the given receiver. auto code_cache_host = std::make_unique(