Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
index f7154e4d5b11623345cafcc006cbabc6a3095275..44aedd577cac61716f53ed03a10a5e0cfb05a801 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
@@ -357,7 +357,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = { |
return WebInspector.UIString("Blackboxed"); |
var name = WebInspector.TimelineUIUtils.eventStyle(event).title; |
// TODO(yurys): support event dividers |
- var detailsText = WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent(event, this._model.target()); |
+ var detailsText = WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent(event, this._model.targetByEvent(event)); |
if (event.name === WebInspector.TimelineModel.RecordType.JSFrame && detailsText) |
return detailsText; |
return detailsText ? WebInspector.UIString("%s (%s)", name, detailsText) : name; |