Index: runtime/lib/timeline.cc |
diff --git a/runtime/lib/timeline.cc b/runtime/lib/timeline.cc |
index f0e5982bd5b0878a11806fc18c3c9c7e3062d41f..f62a8a722828e53294dab781c1042d9f27de618a 100644 |
--- a/runtime/lib/timeline.cc |
+++ b/runtime/lib/timeline.cc |
@@ -77,7 +77,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportTaskEvent, 6) { |
return Object::null(); |
} |
// json was allocated in the zone and a copy will be stored in event. |
- event->SerializedJSON(json); |
+ event->SerializedJSON(json, start.AsInt64Value(), id.AsInt64Value()); |
event->Complete(); |
return Object::null(); |
@@ -124,7 +124,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportCompleteEvent, 5) { |
return Object::null(); |
} |
// json was allocated in the zone and a copy will be stored in event. |
- event->SerializedJSON(json); |
+ event->SerializedJSON(json, start.AsInt64Value(), end.AsInt64Value()); |
event->Complete(); |
return Object::null(); |
@@ -168,7 +168,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportInstantEvent, 4) { |
return Object::null(); |
} |
// json was allocated in the zone and a copy will be stored in event. |
- event->SerializedJSON(json); |
+ event->SerializedJSON(json, start.AsInt64Value(), 0); |
event->Complete(); |
return Object::null(); |