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

Unified Diff: components/search_engines/template_url_parser.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
« no previous file with comments | « components/search_engines/template_url.cc ('k') | components/search_engines/template_url_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_parser.cc
diff --git a/components/search_engines/template_url_parser.cc b/components/search_engines/template_url_parser.cc
index 1b7ebf28157e95b75e9c6e7baf9b2fbe1b97890d..ca554be130b3e7b961941c8c187e87fd764f397e 100644
--- a/components/search_engines/template_url_parser.cc
+++ b/components/search_engines/template_url_parser.cc
@@ -319,8 +319,7 @@ TemplateURL* TemplateURLParsingContext::GetTemplateURL(
// Generate a keyword for this search engine if a custom one was not present
// in the imported data.
if (!has_custom_keyword_)
- data_.SetKeyword(TemplateURL::GenerateKeyword(
- search_url, search_terms_data.GetAcceptLanguages()));
+ data_.SetKeyword(TemplateURL::GenerateKeyword(search_url));
data_.show_in_default_list = show_in_default_list;
« no previous file with comments | « components/search_engines/template_url.cc ('k') | components/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698