From d68e2a0af66f1b5ee4723159d09ec6fb951cd3c3 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 25 Feb 2009 20:35:26 +0000 Subject: One more ElideUrl->GetCleanStringFromUrl Review URL: http://codereview.chromium.org/28131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10370 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/toolbar_model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser') diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc index 2004e55..b1d6127 100644 --- a/chrome/browser/toolbar_model.cc +++ b/chrome/browser/toolbar_model.cc @@ -41,7 +41,7 @@ std::wstring ToolbarModel::GetText() { url = entry->display_url(); } } - return gfx::ElideUrl(url, ChromeFont(), 0, languages); + return gfx::GetCleanStringFromUrl(url, languages, NULL, NULL); } ToolbarModel::SecurityLevel ToolbarModel::GetSecurityLevel() { -- cgit v1.1