| Index: components/history/core/browser/url_database.cc
|
| diff --git a/components/history/core/browser/url_database.cc b/components/history/core/browser/url_database.cc
|
| index 3896ab444dc98e8bfbb51073083fdfbd8e20bb85..3b4cb272584746c8cd09db468ac72f598e16f76d 100644
|
| --- a/components/history/core/browser/url_database.cc
|
| +++ b/components/history/core/browser/url_database.cc
|
| @@ -370,11 +370,8 @@ bool URLDatabase::GetTextMatches(const base::string16& query,
|
| GURL gurl(url);
|
| if (gurl.is_valid()) {
|
| // Decode punycode to match IDN.
|
| - // |query_words| won't be shown to user - therefore we can use empty
|
| - // |languages| to reduce dependency (no need to call PrefService).
|
| base::string16 ascii = base::ASCIIToUTF16(gurl.host());
|
| - base::string16 utf =
|
| - url_formatter::IDNToUnicode(gurl.host(), std::string());
|
| + base::string16 utf = url_formatter::IDNToUnicode(gurl.host());
|
| if (ascii != utf)
|
| query_parser_.ExtractQueryWords(utf, &query_words);
|
| }
|
|
|