diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 20:43:50 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 20:43:50 +0000 |
commit | e115558691eb08608fad56bb32f40265fdfa4ac5 (patch) | |
tree | db67b9778633ba7a1ba0e95f9018825253c68d5d /chrome/browser/task_manager.cc | |
parent | 56fa10366e3f214bcba90d4115616b1eb0a837e5 (diff) | |
download | chromium_src-e115558691eb08608fad56bb32f40265fdfa4ac5.zip chromium_src-e115558691eb08608fad56bb32f40265fdfa4ac5.tar.gz chromium_src-e115558691eb08608fad56bb32f40265fdfa4ac5.tar.bz2 |
Attempt at fixing crash in TaskManager. I'm skeptical this is it, but
it's worth a shot.
BUG=1345092
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r-- | chrome/browser/task_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc index a561bb2..06c7bbc 100644 --- a/chrome/browser/task_manager.cc +++ b/chrome/browser/task_manager.cc @@ -451,9 +451,9 @@ void TaskManagerTableModel::BytesRead(BytesReadParam param) { // TODO(jcampan): this should be improved once we have a better way of // linking a network notification back to the object that initiated it. - TaskManager::Resource* resource; + TaskManager::Resource* resource = NULL; for (ResourceProviderList::iterator iter = providers_.begin(); - iter != providers_.end(); iter++) { + iter != providers_.end(); ++iter) { resource = (*iter)->GetResource(param.origin_pid, param.render_process_host_id, param.routing_id); |