Index: chrome/browser/resources/md_history/list_container.js |
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js |
index f751a8345d1f38dc8b4db1e5d4a1185d31437a5e..a54bc2f39746463c7498807d7ac33775437f5180 100644 |
--- a/chrome/browser/resources/md_history/list_container.js |
+++ b/chrome/browser/resources/md_history/list_container.js |
@@ -260,8 +260,8 @@ Polymer({ |
var browserService = md_history.BrowserService.getInstance(); |
browserService.recordHistogram( |
- 'HistoryPage.RemoveEntryPosition', index, |
- UMA_MAX_BUCKET_VALUE); |
+ 'HistoryPage.RemoveEntryPosition', |
+ Math.min(index, UMA_MAX_BUCKET_VALUE), UMA_MAX_BUCKET_VALUE); |
if (index <= UMA_MAX_SUBSET_BUCKET_VALUE) { |
browserService.recordHistogram( |
'HistoryPage.RemoveEntryPositionSubset', index, |