| Index: content/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- content/browser/tab_contents/tab_contents.cc (revision 82762)
|
| +++ content/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -2203,11 +2203,9 @@
|
| load_state_ = load_state;
|
| upload_position_ = upload_position;
|
| upload_size_ = upload_size;
|
| - std::wstring languages =
|
| - UTF8ToWide(profile()->GetPrefs()->GetString(prefs::kAcceptLanguages));
|
| std::string host = url.host();
|
| - load_state_host_ = WideToUTF16Hack(
|
| - net::IDNToUnicode(host.c_str(), host.size(), languages, NULL));
|
| + load_state_host_ = net::IDNToUnicode(host.c_str(), host.size(),
|
| + profile()->GetPrefs()->GetString(prefs::kAcceptLanguages));
|
| if (load_state_ == net::LOAD_STATE_READING_RESPONSE)
|
| SetNotWaitingForResponse();
|
| if (is_loading())
|
|
|