| Index: base/metrics/histogram_samples.h
|
| diff --git a/base/metrics/histogram_samples.h b/base/metrics/histogram_samples.h
|
| index bbd0e6d24e2e58f05d300f5c0661825f34605b77..76f84ff571f27d2a8f10852e0d11e1f1027c348e 100644
|
| --- a/base/metrics/histogram_samples.h
|
| +++ b/base/metrics/histogram_samples.h
|
| @@ -31,11 +31,8 @@ class BASE_EXPORT HistogramSamples {
|
| // accuracy of this value; there may be races during histogram
|
| // accumulation and snapshotting that we choose to accept. It should
|
| // be treated as approximate.
|
| -#ifdef ARCH_CPU_64_BITS
|
| - subtle::Atomic64 sum;
|
| -#else // No Atomic64 on 32-bit platforms.
|
| + // TODO(bcwhite): Change this to std::atomic<uint64>.
|
| int64 sum;
|
| -#endif
|
|
|
| // A "redundant" count helps identify memory corruption. It redundantly
|
| // stores the total number of samples accumulated in the histogram. We
|
|
|