| Index: base/metrics/histogram_base.cc
|
| diff --git a/base/metrics/histogram_base.cc b/base/metrics/histogram_base.cc
|
| index 6e7e69e061c632858f3bfcc33310d5145cfeb4e1..f09c84e20d0968262c8ec338c8691d9863b3b0d6 100644
|
| --- a/base/metrics/histogram_base.cc
|
| +++ b/base/metrics/histogram_base.cc
|
| @@ -109,7 +109,7 @@ void HistogramBase::WriteJSON(std::string* output) const {
|
| DictionaryValue root;
|
| root.SetString("name", histogram_name());
|
| root.SetInteger("count", count);
|
| - root.SetDouble("sum", sum);
|
| + root.SetDouble("sum", static_cast<double>(sum));
|
| root.SetInteger("flags", flags());
|
| root.Set("params", parameters.release());
|
| root.Set("buckets", buckets.release());
|
|
|