summaryrefslogtreecommitdiffstats
path: root/chrome/browser/toolbar_model.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 23:16:54 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 23:16:54 +0000
commitebe89e0676c12a6ebccb35fef1611323d1b35afb (patch)
treeec1d1715d14c3fb182f0d39fc9178b40c4951897 /chrome/browser/toolbar_model.cc
parent5e344a39782b73070a679f0d12a996a012c7e3de (diff)
downloadchromium_src-ebe89e0676c12a6ebccb35fef1611323d1b35afb.zip
chromium_src-ebe89e0676c12a6ebccb35fef1611323d1b35afb.tar.gz
chromium_src-ebe89e0676c12a6ebccb35fef1611323d1b35afb.tar.bz2
Reland r23357 since it doesn't seem to be the cause of unit test
failure: Renames the NavigationEntry::display_url() to virtual_url(). BUG=6970 (http://crbug.com/6970) TEST=None Patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/164383 Review URL: http://codereview.chromium.org/165501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23374 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/toolbar_model.cc')
-rw-r--r--chrome/browser/toolbar_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc
index 9107ec2..1a80db2 100644
--- a/chrome/browser/toolbar_model.cc
+++ b/chrome/browser/toolbar_model.cc
@@ -38,7 +38,7 @@ std::wstring ToolbarModel::GetText() {
// Explicitly hide the URL for this tab.
url = GURL();
} else if (entry) {
- url = entry->display_url();
+ url = entry->virtual_url();
}
}
return net::FormatUrl(url, languages, true, UnescapeRule::NORMAL, NULL, NULL);