Index: Source/devtools/front_end/TimelineView.js |
diff --git a/Source/devtools/front_end/TimelineView.js b/Source/devtools/front_end/TimelineView.js |
index 2d37c4f6ac5fcab06be6d254713ce75eab1757b5..72644acd99ef16333fc138a3aab5826ab39bf448 100644 |
--- a/Source/devtools/front_end/TimelineView.js |
+++ b/Source/devtools/front_end/TimelineView.js |
@@ -323,7 +323,8 @@ WebInspector.TimelineView.prototype = { |
for (var category in aggregatedStats) |
idle -= aggregatedStats[category]; |
aggregatedStats["idle"] = idle; |
- this._delegate.showAggregatedStatsInDetails(WebInspector.TimelineUIUtils.recordStyle(presentationRecord.record()).title, aggregatedStats); |
+ var pieChart = WebInspector.TimelineUIUtils.generatePieChart(aggregatedStats); |
+ this._delegate.showInDetails(WebInspector.TimelineUIUtils.recordStyle(presentationRecord.record()).title, pieChart); |
return; |
} |
this._delegate.selectRecord(presentationRecord ? presentationRecord.record() : null); |