Index: components/history/core/browser/history_database.cc |
diff --git a/components/history/core/browser/history_database.cc b/components/history/core/browser/history_database.cc |
index 4b58a5a0e539a460cadab5e3ae0000949d264004..3de452303da423f48b4d4a68ffafe31684615585 100644 |
--- a/components/history/core/browser/history_database.cc |
+++ b/components/history/core/browser/history_database.cc |
@@ -176,9 +176,11 @@ void HistoryDatabase::ComputeDatabaseMetrics( |
} |
} |
UMA_HISTOGRAM_COUNTS("History.WeeklyURLCount", week_url_count); |
- UMA_HISTOGRAM_COUNTS_10000("History.WeeklyHostCount", week_hosts.size()); |
+ UMA_HISTOGRAM_COUNTS_10000("History.WeeklyHostCount", |
+ static_cast<int>(week_hosts.size())); |
UMA_HISTOGRAM_COUNTS("History.MonthlyURLCount", month_url_count); |
- UMA_HISTOGRAM_COUNTS_10000("History.MonthlyHostCount", month_hosts.size()); |
+ UMA_HISTOGRAM_COUNTS_10000("History.MonthlyHostCount", |
+ static_cast<int>(month_hosts.size())); |
UMA_HISTOGRAM_TIMES("History.DatabaseAdvancedMetricsTime", |
base::TimeTicks::Now() - start_time); |
} |