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 20:45:12 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 20:45:12 +0000
commit5873de6186d9997573cfad69131a84f1b69ddd45 (patch)
treeb9f0f4bafa42705edb9f79f27e023c8204db08a5 /chrome/browser/toolbar_model.cc
parentd42561d79bc3940320d2aef268a64f2a34e52733 (diff)
downloadchromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.zip
chromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.tar.gz
chromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.tar.bz2
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/165485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23357 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);