Index: base/debug/activity_tracker.cc |
diff --git a/base/debug/activity_tracker.cc b/base/debug/activity_tracker.cc |
index 3ff8928b58450a0f01a4a1dca8935e67e3478e12..b848141cb1916008812925502ae2064a0fca6af1 100644 |
--- a/base/debug/activity_tracker.cc |
+++ b/base/debug/activity_tracker.cc |
@@ -1371,8 +1371,8 @@ ThreadActivityTracker* GlobalActivityTracker::CreateTrackerForCurrentThread() { |
this_thread_tracker_.Set(tracker); |
int old_count = thread_tracker_count_.fetch_add(1, std::memory_order_relaxed); |
- UMA_HISTOGRAM_ENUMERATION("ActivityTracker.ThreadTrackers.Count", |
- old_count + 1, kMaxThreadCount); |
+ UMA_HISTOGRAM_EXACT_LINEAR("ActivityTracker.ThreadTrackers.Count", |
+ old_count + 1, static_cast<int>(kMaxThreadCount)); |
return tracker; |
} |