| 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 ed2c2cd1551b6c7ccc7c0522450929a1b0befc13..4d74ea036950e6cc4ce27a2520d4ed58c6ea49a2 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -45,13 +45,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"
|
| @@ -346,7 +346,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())
|
|
|