Index: Source/devtools/front_end/timeline/TimelineView.js |
diff --git a/Source/devtools/front_end/timeline/TimelineView.js b/Source/devtools/front_end/timeline/TimelineView.js |
index 8ce63661b6d03d1510a44a754f7af5331c14e810..438ea2f5520b2577aaf07ce693b3b1f188b54056 100644 |
--- a/Source/devtools/front_end/timeline/TimelineView.js |
+++ b/Source/devtools/front_end/timeline/TimelineView.js |
@@ -1070,7 +1070,9 @@ WebInspector.TimelineRecordListRow.prototype = { |
if (presentationRecord.coalesced()) { |
this._dataElement.createTextChild(WebInspector.UIString("× %d", presentationRecord.presentationChildren().length)); |
} else { |
- var detailsNode = WebInspector.TimelineUIUtils.buildDetailsNode(record, this._linkifier, loadedFromFile); |
+ var detailsNode = record instanceof WebInspector.TimelineModel.RecordImpl ? |
+ WebInspector.TimelineUIUtils.buildDetailsNode(record, this._linkifier, loadedFromFile) : |
+ WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent(record._event, this._linkifier, loadedFromFile, record.target()); |
if (detailsNode) { |
this._dataElement.appendChild(document.createTextNode("(")); |
this._dataElement.appendChild(detailsNode); |