diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-10 22:13:17 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-10 22:13:17 +0000 |
commit | 59d49aa8b39fd45a206549b7d19b4d02908af9a8 (patch) | |
tree | a05fe94babcacce1e2ee82ee4603ca49c670a612 /app | |
parent | 62fd5af1aac8b2a80bf6336a7f7a10cad1086c3e (diff) | |
download | chromium_src-59d49aa8b39fd45a206549b7d19b4d02908af9a8.zip chromium_src-59d49aa8b39fd45a206549b7d19b4d02908af9a8.tar.gz chromium_src-59d49aa8b39fd45a206549b7d19b4d02908af9a8.tar.bz2 |
Cleanup: Convert net::StripWWW to string16 and fix up the callsites.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3360023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/text_elider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/text_elider.cc b/app/text_elider.cc index 549e1c2..f1ca16e 100644 --- a/app/text_elider.cc +++ b/app/text_elider.cc @@ -384,7 +384,7 @@ SortedDisplayURL::SortedDisplayURL(const GURL& url, std::wstring host; net::AppendFormattedHost(url, languages, &host, NULL, NULL); sort_host_ = WideToUTF16Hack(host); - string16 host_minus_www = WideToUTF16Hack(net::StripWWW(host)); + string16 host_minus_www = net::StripWWW(WideToUTF16Hack(host)); url_parse::Parsed parsed; display_url_ = net::FormatUrl(url, WideToUTF8(languages), net::kFormatUrlOmitAll, UnescapeRule::SPACES, &parsed, &prefix_end_, |