| Index: ui/base/text/text_elider.cc
|
| ===================================================================
|
| --- ui/base/text/text_elider.cc (revision 82762)
|
| +++ ui/base/text/text_elider.cc (working copy)
|
| @@ -391,10 +391,8 @@
|
|
|
| SortedDisplayURL::SortedDisplayURL(const GURL& url,
|
| const std::string& languages) {
|
| - std::wstring host;
|
| - net::AppendFormattedHost(url, UTF8ToWide(languages), &host, NULL, NULL);
|
| - sort_host_ = WideToUTF16Hack(host);
|
| - string16 host_minus_www = net::StripWWW(WideToUTF16Hack(host));
|
| + net::AppendFormattedHost(url, languages, &sort_host_, NULL, NULL);
|
| + string16 host_minus_www = net::StripWWW(sort_host_);
|
| url_parse::Parsed parsed;
|
| display_url_ = net::FormatUrl(url, languages,
|
| net::kFormatUrlOmitAll, UnescapeRule::SPACES, &parsed, &prefix_end_,
|
|
|