| Index: ui/events/latency_info.cc
|
| diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
|
| index 99879082e67c519ee51c8b241573e93d02bf2a5c..7b84c1c5159d38ad75443f1b1dea9f118d20a7d2 100644
|
| --- a/ui/events/latency_info.cc
|
| +++ b/ui/events/latency_info.cc
|
| @@ -114,12 +114,13 @@ scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData(
|
| latency.latency_components.begin();
|
| it != latency.latency_components.end(); ++it) {
|
| base::DictionaryValue* component_info = new base::DictionaryValue();
|
| - component_info->SetDouble("comp_id", it->first.second);
|
| - component_info->SetDouble("time", it->second.event_time.ToInternalValue());
|
| + component_info->SetDouble("comp_id", static_cast<double>(it->first.second));
|
| + component_info->SetDouble(
|
| + "time", static_cast<double>(it->second.event_time.ToInternalValue()));
|
| component_info->SetDouble("count", it->second.event_count);
|
| record_data->Set(GetComponentName(it->first.first), component_info);
|
| }
|
| - record_data->SetDouble("trace_id", latency.trace_id);
|
| + record_data->SetDouble("trace_id", static_cast<double>(latency.trace_id));
|
|
|
| scoped_ptr<base::ListValue> coordinates(new base::ListValue());
|
| for (size_t i = 0; i < latency.input_coordinates_size; i++) {
|
|
|