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 6d828a1deac55d510b6d732487f99fad8bd74f58..0f098e5f28efcf14486f87a22829b9c27725cded 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js |
@@ -562,10 +562,10 @@ WebInspector.TimelineFlameChartDataProvider.prototype = { |
for (var groupIndex = 0; groupIndex < groupArray.length; ++groupIndex) { |
var group = groupArray[groupIndex]; |
var events = asyncEvents.get(group); |
- if (events) { |
- var title = WebInspector.TimelineUIUtils.titleForAsyncEventGroup(groups.input); |
- this._appendAsyncEventsGroup(title, events, this._headerLevel1); |
- } |
+ if (!events) |
+ continue; |
+ var title = WebInspector.TimelineUIUtils.titleForAsyncEventGroup(group); |
+ this._appendAsyncEventsGroup(title, events, this._headerLevel1); |
} |
}, |