Index: chrome/browser/resources/md_history/history_item.js |
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js |
index 14f75068041ba263e5e3b995639c4fc215a74549..50a52632c4f2de4812db262a640aec013dc3d48a 100644 |
--- a/chrome/browser/resources/md_history/history_item.js |
+++ b/chrome/browser/resources/md_history/history_item.js |
@@ -271,7 +271,8 @@ cr.define('md_history', function() { |
return; |
browserService.recordHistogram( |
- 'HistoryPage.ClickPosition', this.index, UMA_MAX_BUCKET_VALUE); |
+ 'HistoryPage.ClickPosition', |
+ Math.min(this.index, UMA_MAX_BUCKET_VALUE), UMA_MAX_BUCKET_VALUE); |
if (this.index <= UMA_MAX_SUBSET_BUCKET_VALUE) { |
browserService.recordHistogram( |