| Index: base/metrics/persistent_sample_map.cc
|
| diff --git a/base/metrics/persistent_sample_map.cc b/base/metrics/persistent_sample_map.cc
|
| index f931fd579c3ef71edebc1f8a81fc133f35afd7d2..dd5b8320c16dafafb49d74057883503af3e3fbaa 100644
|
| --- a/base/metrics/persistent_sample_map.cc
|
| +++ b/base/metrics/persistent_sample_map.cc
|
| @@ -118,8 +118,7 @@ PersistentSampleMap::~PersistentSampleMap() {
|
|
|
| void PersistentSampleMap::Accumulate(Sample value, Count count) {
|
| *GetOrCreateSampleCountStorage(value) += count;
|
| - IncreaseSum(static_cast<int64_t>(count) * value);
|
| - IncreaseRedundantCount(count);
|
| + IncreaseSumAndCount(static_cast<int64_t>(count) * value, count);
|
| }
|
|
|
| Count PersistentSampleMap::GetCount(Sample value) const {
|
|
|