diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:24:50 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:24:50 +0000 |
commit | 6df4074a8f9ab6039c7cb8807b61b52599d14040 (patch) | |
tree | 12cfef7094b77c34f5d0590e5e8546b6be5fcc93 /chrome/browser/memory_details.cc | |
parent | c1f844dd22d6d2ca74e2d576070f66928737d5cd (diff) | |
download | chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.zip chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.tar.gz chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.tar.bz2 |
Fix a bunch of tiny near-bugs and bugs that static analysis identified
r=mbelshe,brettw
Review URL: http://codereview.chromium.org/50014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r-- | chrome/browser/memory_details.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc index dfae8a2..aab92f0 100644 --- a/chrome/browser/memory_details.cc +++ b/chrome/browser/memory_details.cc @@ -219,7 +219,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() { title = L"Untitled"; process.titles.push_back(title); - // We need to check the pending entry as well as the pending entry to + // We need to check the pending entry as well as the display_url to // see if it's an about:memory URL (we don't want to count these in the // total memory usage of the browser). // @@ -230,8 +230,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() { // entry. // // Either the pending or last committed entries can be NULL. - const NavigationEntry* pending_entry = NULL; - //contents->controller()->GetPendingEntry(); + const NavigationEntry* pending_entry = + contents->controller()->GetPendingEntry(); const NavigationEntry* last_committed_entry = contents->controller()->GetLastCommittedEntry(); if ((last_committed_entry && |