Index: Source/devtools/front_end/TimelineUIUtils.js |
diff --git a/Source/devtools/front_end/TimelineUIUtils.js b/Source/devtools/front_end/TimelineUIUtils.js |
index 896108f5eab4bcbc2979738bfa49ac37397d628b..febc2820a019460a1ded6df850e2ee5af7804894 100644 |
--- a/Source/devtools/front_end/TimelineUIUtils.js |
+++ b/Source/devtools/front_end/TimelineUIUtils.js |
@@ -232,16 +232,15 @@ WebInspector.TimelineUIUtils.generateMainThreadBarPopupContent = function(model, |
} |
/** |
- * @param {!WebInspector.TimelineModel} model |
* @param {!TimelineAgent.TimelineEvent} record |
* @return {string} |
*/ |
-WebInspector.TimelineUIUtils.recordTitle = function(model, record) |
+WebInspector.TimelineUIUtils.recordTitle = function(record) |
{ |
if (record.type === WebInspector.TimelineModel.RecordType.TimeStamp) |
return record.data["message"]; |
if (WebInspector.TimelineUIUtils.isEventDivider(record)) { |
- var startTime = Number.millisToString(record.startTime - model.minimumRecordTime()); |
+ var startTime = Number.millisToString(record.startTimeOffset); |
return WebInspector.UIString("%s at %s", WebInspector.TimelineUIUtils.recordStyle(record).title, startTime, true); |
} |
return WebInspector.TimelineUIUtils.recordStyle(record).title; |