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

Unified Diff: components/history/core/browser/top_sites_database.cc

Issue 963823003: Move InMemoryURLIndex into chrome/browser/autocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcut-database
Patch Set: Fixing win_chromium_x64_rel_ng build Created 5 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
« no previous file with comments | « components/history/core/browser/thumbnail_database.cc ('k') | components/history/core/browser/url_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/top_sites_database.cc
diff --git a/components/history/core/browser/top_sites_database.cc b/components/history/core/browser/top_sites_database.cc
index ac5f71bcda1a1c40584aa5bd2303dcbc2cc253f2..74ab1156ddaf98ca679cb082ea3e2b530e68e458 100644
--- a/components/history/core/browser/top_sites_database.cc
+++ b/components/history/core/browser/top_sites_database.cc
@@ -307,7 +307,7 @@ void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) {
// "lots recovered". More than 10,000 rows recovered probably means there's
// something wrong with the profile.
UMA_HISTOGRAM_COUNTS_10000("History.TopSitesRecoveredRowsThumbnails",
- thumbnails_recovered);
+ static_cast<int>(thumbnails_recovered));
RecordRecoveryEvent(RECOVERY_EVENT_RECOVERED);
}
« no previous file with comments | « components/history/core/browser/thumbnail_database.cc ('k') | components/history/core/browser/url_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698