diff --git a/ipc/chromium/src/base/histogram.cc b/ipc/chromium/src/base/histogram.cc index 90da947926fd..3123f0f8fb25 100644 --- a/ipc/chromium/src/base/histogram.cc +++ b/ipc/chromium/src/base/histogram.cc @@ -746,7 +746,7 @@ void Histogram::SampleSet::AccumulateWithExponentialStats(Sample value, size_t index) { Accumulate(value, count, index); DCHECK_GE(value, 0); - double value_log = log(static_cast(value) + 1); + float value_log = logf(static_cast(value) + 1.0f); log_sum_ += count * value_log; log_sum_squares_ += count * value_log * value_log; }