| Index: runtime/vm/timeline.cc
|
| diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc
|
| index 3d5e1798d86ae2262e871bf81438c9de09781b1c..4c3fb9bf655cc927f1d1ab7923ba7258a9838b9e 100644
|
| --- a/runtime/vm/timeline.cc
|
| +++ b/runtime/vm/timeline.cc
|
| @@ -197,12 +197,12 @@ void TimelineEvent::PrintJSON(JSONStream* stream) const {
|
| obj.AddProperty("cat", stream_->name());
|
| obj.AddProperty64("tid", tid);
|
| obj.AddProperty64("pid", pid);
|
| - obj.AddProperty("ts", static_cast<double>(TimeOrigin()));
|
| + obj.AddPropertyTimeMillis("ts", TimeOrigin());
|
|
|
| switch (event_type()) {
|
| case kDuration: {
|
| obj.AddProperty("ph", "X");
|
| - obj.AddProperty("dur", static_cast<double>(TimeDuration()));
|
| + obj.AddPropertyTimeMillis("dur", TimeDuration());
|
| }
|
| break;
|
| case kInstant: {
|
|
|