+2012-04-03 Andrey Kosyakov <caseq@chromium.org>
+
+ Web Inspector: remove unused references to TimelineCalculator
+ https://bugs.webkit.org/show_bug.cgi?id=83025
+
+ Reviewed by Yury Semikhatsky.
+
+ * inspector/front-end/TimelinePanel.js:
+ (WebInspector.TimelinePanel.prototype._refreshRecords):
+ (WebInspector.TimelinePanel.prototype._showPopover):
+ (WebInspector.TimelineRecordListRow.prototype.update):
+ * inspector/front-end/TimelinePresentationModel.js:
+ (WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
+
2012-04-03 Mark Pilgrim <pilgrim@chromium.org>
Call incrementStatsCounter directly
this._graphRowsElement.appendChild(graphRowElement);
}
- listRowElement.row.update(record, isEven, this._calculator, visibleTop);
+ listRowElement.row.update(record, isEven, visibleTop);
graphRowElement.row.update(record, isEven, this._calculator, width, this._expandOffset, i);
listRowElement = listRowElement.nextSibling;
_showPopover: function(anchor, popover)
{
var record = anchor.row._record;
- popover.show(record.generatePopupContent(this._calculator), anchor);
+ popover.show(record.generatePopupContent(), anchor);
},
_closeRecordDetails: function()
}
WebInspector.TimelineRecordListRow.prototype = {
- update: function(record, isEven, calculator, offset)
+ update: function(record, isEven, offset)
{
this._record = record;
- this._calculator = calculator;
this._offset = offset;
this.element.className = "timeline-tree-item timeline-category-" + record.category.name + (isEven ? " even" : "");