Index: Source/devtools/front_end/timeline/TimelineEventOverview.js |
diff --git a/Source/devtools/front_end/timeline/TimelineEventOverview.js b/Source/devtools/front_end/timeline/TimelineEventOverview.js |
index 76006b40fe656d1c3d5b24c8a1c575ec7db809ff..891a0460ae9e73e0b7b998738d246b788631f0a2 100644 |
--- a/Source/devtools/front_end/timeline/TimelineEventOverview.js |
+++ b/Source/devtools/front_end/timeline/TimelineEventOverview.js |
@@ -91,7 +91,7 @@ WebInspector.TimelineEventOverview.prototype = { |
return; |
var recordStart = Math.floor((record.startTime() - timeOffset) * scale); |
var recordEnd = Math.ceil((record.endTime() - timeOffset) * scale); |
- var category = WebInspector.TimelineUIUtils.categoryForRecord(record); |
+ var category = record.category(); |
if (category.overviewStripGroupIndex < 0) |
return; |
var bar = lastBarByGroup[category.overviewStripGroupIndex]; |