| Index: chrome/browser/ui/webui/history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
|
| index 0fd41b3b01904e68692d0c85932122c6d24fe09e..69de94b8b0583f48f1cd69f08b9ad01cb3c6ef91 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -46,13 +46,13 @@
|
| #include "components/search/search.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| #include "components/sync_driver/device_info.h"
|
| +#include "components/url_formatter/url_formatter.h"
|
| #include "content/public/browser/url_data_source.h"
|
| #include "content/public/browser/web_ui.h"
|
| #include "content/public/browser/web_ui_data_source.h"
|
| #include "grit/browser_resources.h"
|
| #include "grit/theme_resources.h"
|
| #include "net/base/escape.h"
|
| -#include "net/base/net_util.h"
|
| #include "sync/protocol/history_delete_directive_specifics.pb.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/l10n/time_format.h"
|
| @@ -352,7 +352,8 @@ scoped_ptr<base::DictionaryValue> BrowsingHistoryHandler::HistoryEntry::ToValue(
|
| scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue());
|
| SetUrlAndTitle(result.get());
|
|
|
| - base::string16 domain = net::IDNToUnicode(url.host(), accept_languages);
|
| + base::string16 domain =
|
| + url_formatter::IDNToUnicode(url.host(), accept_languages);
|
| // When the domain is empty, use the scheme instead. This allows for a
|
| // sensible treatment of e.g. file: URLs when group by domain is on.
|
| if (domain.empty())
|
|
|