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

Unified Diff: components/search_engines/keyword_table.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/keyword_table.cc
diff --git a/components/search_engines/keyword_table.cc b/components/search_engines/keyword_table.cc
index b7d56a1ad195fbb6a3f3de19808111e8bfdbd744..ed7d6e88049ffbc4465bc2e56571afce18938795 100644
--- a/components/search_engines/keyword_table.cc
+++ b/components/search_engines/keyword_table.cc
@@ -455,8 +455,7 @@ bool KeywordTable::MigrateKeywordsTableForVersion45(const std::string& name) {
delete_entry = true;
} else {
// Ensure autogenerated keywords are unique.
- keyword = TemplateURL::GenerateKeyword(
- url, terms_data.GetAcceptLanguages());
+ keyword = TemplateURL::GenerateKeyword(url);
while (keywords.count(keyword))
keyword.append(base::ASCIIToUTF16("_"));
sql::Statement u(db_->GetUniqueStatement(
« no previous file with comments | « components/password_manager/core/browser/password_ui_utils_unittest.cc ('k') | components/search_engines/search_terms_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698