| 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..2779f8f6618cce58ea8bbff32603eb8b182453d9 100644
|
| --- a/chrome/browser/task_manager/task_manager.cc
|
| +++ b/chrome/browser/task_manager/task_manager.cc
|
| @@ -891,7 +891,13 @@ void TaskManagerModel::OnBytesRead(net::URLRequestJob* job, const char* buf,
|
| if (!ResourceDispatcherHost::RenderViewForRequest(job->request(),
|
| &render_process_host_child_id,
|
| &routing_id)) {
|
| - NOTREACHED();
|
| + // Only net::URLRequestJob instances created by the ResourceDispatcherHost
|
| + // have a render view associated. Jobs from components such as the
|
| + // SearchProvider for autocomplete, have no associated view, so we can't
|
| + // correctly attribute the bandwidth they consume.
|
| + // TODO(wez): All jobs' resources should ideally be accountable, even if
|
| + // only by contributing to the Browser process' stats.
|
| + return;
|
| }
|
|
|
| // This happens in the IO thread, post it to the UI thread.
|
|
|