Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Unified Diff: components/search_engines/template_url_service.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/search_engines/template_url_service.cc
diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc
index 0e944ac3e6d50a59933be5b7f379dad02e05d534..ee4fb619c0026f460647fe89a415a11dbfc1e514 100644
--- a/components/search_engines/template_url_service.cc
+++ b/components/search_engines/template_url_service.cc
@@ -2185,8 +2185,7 @@ base::string16 TemplateURLService::UniquifyKeyword(const TemplateURL& turl,
GURL gurl(turl.url());
if (gurl.is_valid() &&
(turl.GetType() != TemplateURL::OMNIBOX_API_EXTENSION)) {
- base::string16 keyword_candidate = TemplateURL::GenerateKeyword(
- gurl, search_terms_data().GetAcceptLanguages());
+ base::string16 keyword_candidate = TemplateURL::GenerateKeyword(gurl);
if (!GetTemplateURLForKeyword(keyword_candidate))
return keyword_candidate;
}
« no previous file with comments | « components/search_engines/template_url_parser.cc ('k') | components/search_engines/template_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698