summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-26 08:26:53 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-26 08:26:53 +0000
commit6bd90a20829b3c128d131c4559d44bcd240df38b (patch)
tree55fcbc563ce960c997904e18ca822f7159d48994
parentd7c0fde53d7f381baf98b0e23c621af8858a7486 (diff)
downloadchromium_src-6bd90a20829b3c128d131c4559d44bcd240df38b.zip
chromium_src-6bd90a20829b3c128d131c4559d44bcd240df38b.tar.gz
chromium_src-6bd90a20829b3c128d131c4559d44bcd240df38b.tar.bz2
Take out a debugging DCHECK that I had added when switching process startup to be asynchronous. It sometimes fire when navigating between origins while the task manager is up. That's the only time it fires, and it is ok in that case, since an IPC message later will update the task manager.
TBR=brettw Review URL: http://codereview.chromium.org/518001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35281 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 5a69ccd..eac566b 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -557,10 +557,8 @@ base::ProcessHandle BrowserRenderProcessHost::GetHandle() {
if (run_renderer_in_process() || !child_process_.get())
return base::Process::Current().handle();
- if (child_process_->IsStarting()) {
- NOTREACHED() << "BrowserRenderProcessHost::GetHandle() called early!";
+ if (child_process_->IsStarting())
return base::kNullProcessHandle;
- }
return child_process_->GetHandle();
}