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

Unified Diff: chrome/browser/task_manager/task_manager.cc

Issue 6240006: Fix DCHECK caused by Task Manager assuming all requests have a render view. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 11 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: chrome/browser/task_manager/task_manager.cc
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
index 28418b8a44c2773202e5da2b3c2606148c8e9797..70288303a7c4b2dded1354f753d970cbd7fb8305 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -891,7 +891,7 @@ void TaskManagerModel::OnBytesRead(net::URLRequestJob* job, const char* buf,
if (!ResourceDispatcherHost::RenderViewForRequest(job->request(),
&render_process_host_child_id,
&routing_id)) {
Nico 2011/01/19 16:39:36 Add a comment describing when this happens.
- NOTREACHED();
+ return;
}
// This happens in the IO thread, post it to the UI thread.
« 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