| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index fa8f2f30cf4f1510c1b65e5b5e8a4a382807bf0c..db03638bf757dc91e0e7777a108f4409e4775393 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -22,6 +22,7 @@
|
| #include "base/time/time.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "components/mime_util/mime_util.h"
|
| +#include "components/url_formatter/url_formatter.h"
|
| #include "content/browser/accessibility/accessibility_mode_helper.h"
|
| #include "content/browser/accessibility/browser_accessibility_state_impl.h"
|
| #include "content/browser/bad_message.h"
|
| @@ -96,7 +97,6 @@
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/common/web_preferences.h"
|
| -#include "net/base/net_util.h"
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_transaction_factory.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -4064,9 +4064,9 @@ void WebContentsImpl::LoadStateChanged(
|
| load_state_ = load_state;
|
| upload_position_ = upload_position;
|
| upload_size_ = upload_size;
|
| - load_state_host_ = net::IDNToUnicode(url.host(),
|
| - GetContentClient()->browser()->GetAcceptLangs(
|
| - GetBrowserContext()));
|
| + load_state_host_ = url_formatter::IDNToUnicode(
|
| + url.host(),
|
| + GetContentClient()->browser()->GetAcceptLangs(GetBrowserContext()));
|
| if (load_state_.state == net::LOAD_STATE_READING_RESPONSE)
|
| SetNotWaitingForResponse();
|
| if (IsLoading()) {
|
|
|