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

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: rebased, most Android targets locally built successfully Created 4 years, 9 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_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;

Powered by Google App Engine
This is Rietveld 408576698