summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 21:43:44 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 21:43:44 +0000
commitdb7556cb7ed80a650a349d734a32c5f85a4bb89a (patch)
tree5940900ed87c2bb0e5626a4f26659936e4e1fbc2 /chrome/browser/memory_details.cc
parentaa61d7ed5555ccaa7a5987a4f3fc98bb4f35cf39 (diff)
downloadchromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.zip
chromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.tar.gz
chromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.tar.bz2
Revert "Renames the NavigationEntry::display_url() to virtual_url()."
This reverts commit r23357. Review URL: http://codereview.chromium.org/164517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index ccf279e..fdf6231 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -232,7 +232,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
title = L"Untitled";
process.titles.push_back(title);
- // We need to check the pending entry as well as the virtual_url 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).
//
@@ -248,10 +248,10 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
const NavigationEntry* last_committed_entry =
contents->controller().GetLastCommittedEntry();
if ((last_committed_entry &&
- LowerCaseEqualsASCII(last_committed_entry->virtual_url().spec(),
+ LowerCaseEqualsASCII(last_committed_entry->display_url().spec(),
chrome::kAboutMemoryURL)) ||
(pending_entry &&
- LowerCaseEqualsASCII(pending_entry->virtual_url().spec(),
+ LowerCaseEqualsASCII(pending_entry->display_url().spec(),
chrome::kAboutMemoryURL)))
process.is_diagnostics = true;
}