summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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() {