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 13ee21cf4f8b276f2ee832c30d3abc8335dc395b..7efe531dfd6eceecf405da9d1fa40e52e70a698a 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
@@ -559,10 +559,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = { |
{ |
if (!this._irModel) |
return; |
- var segments = this._irModel.interactionRecords(); |
- if (!segments || !segments.length) |
- return; |
- segments.forEach(this._appendSegment, this); |
+ this._irModel.interactionRecords().forEach(this._appendSegment, this); |
this._entryTypeByLevel[this._currentLevel++] = WebInspector.TimelineFlameChartEntryType.InteractionRecord; |
}, |