| Index: base/debug/trace_event_impl.cc
|
| diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc
|
| index db321e2bfa42c893e34acce70c37d802459c0e6f..9110bf2c0ecc7c07e2ce6eec9f2b608dd535bfed 100644
|
| --- a/base/debug/trace_event_impl.cc
|
| +++ b/base/debug/trace_event_impl.cc
|
| @@ -1319,8 +1319,8 @@ void TraceLog::UpdateSyntheticDelaysFromCategoryFilter() {
|
| char* duration_end;
|
| double target_duration = strtod(token.c_str(), &duration_end);
|
| if (duration_end != token.c_str()) {
|
| - delay->SetTargetDuration(
|
| - TimeDelta::FromMicroseconds(target_duration * 1e6));
|
| + delay->SetTargetDuration(TimeDelta::FromMicroseconds(
|
| + static_cast<int64>(target_duration * 1e6)));
|
| } else if (token == "static") {
|
| delay->SetMode(TraceEventSyntheticDelay::STATIC);
|
| } else if (token == "oneshot") {
|
|
|