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

Unified Diff: components/omnibox/browser/scored_history_match.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/omnibox/browser/scored_history_match.cc
diff --git a/components/omnibox/browser/scored_history_match.cc b/components/omnibox/browser/scored_history_match.cc
index fd3c17b912121a9abb79b8c566b3e64a038eec92..b8b07fadc695f19ae427d92d660e38f5bfe75870 100644
--- a/components/omnibox/browser/scored_history_match.cc
+++ b/components/omnibox/browser/scored_history_match.cc
@@ -125,7 +125,6 @@ std::vector<ScoredHistoryMatch::ScoreMaxRelevance>*
ScoredHistoryMatch::ScoredHistoryMatch()
: ScoredHistoryMatch(history::URLRow(),
VisitInfoVector(),
- std::string(),
base::string16(),
String16Vector(),
WordStarts(),
@@ -138,7 +137,6 @@ ScoredHistoryMatch::ScoredHistoryMatch()
ScoredHistoryMatch::ScoredHistoryMatch(
const history::URLRow& row,
const VisitInfoVector& visits,
- const std::string& languages,
const base::string16& lower_string,
const String16Vector& terms_vector,
const WordStarts& terms_to_word_starts_offsets,
@@ -171,7 +169,7 @@ ScoredHistoryMatch::ScoredHistoryMatch(
// so that we can score as well as provide autocomplete highlighting.
base::OffsetAdjuster::Adjustments adjustments;
base::string16 url =
- bookmarks::CleanUpUrlForMatching(gurl, languages, &adjustments);
+ bookmarks::CleanUpUrlForMatching(gurl, &adjustments);
base::string16 title = bookmarks::CleanUpTitleForMatching(row.title());
int term_num = 0;
for (const auto& term : terms_vector) {
« no previous file with comments | « components/omnibox/browser/scored_history_match.h ('k') | components/omnibox/browser/scored_history_match_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698