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

Unified Diff: chrome/browser/history/history_service.cc

Issue 896983003: Componentize ScoredHistoryMatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use base::saturated_cast<> to convert from float to int Created 5 years, 10 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 | « chrome/browser/history/history_service.h ('k') | chrome/browser/history/in_memory_url_index.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index 1216d95046f114f2110553e9df711dabf30021dc..ca1d4f89324c23b8f6a7c45aaa708649c4f84a0c 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -975,8 +975,8 @@ bool HistoryService::Init(
if (!languages.empty()) {
// Do not create |in_memory_url_index_| when languages is empty (which
// should only happens during testing).
- in_memory_url_index_.reset(new history::InMemoryURLIndex(
- this, history_dir_, languages, history_client_));
+ in_memory_url_index_.reset(
+ new history::InMemoryURLIndex(this, history_dir_, languages));
in_memory_url_index_->Init();
}
« no previous file with comments | « chrome/browser/history/history_service.h ('k') | chrome/browser/history/in_memory_url_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698