diff options
Diffstat (limited to 'Source/WebCore/inspector/front-end/TimelinePanel.js')
-rw-r--r-- | Source/WebCore/inspector/front-end/TimelinePanel.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebCore/inspector/front-end/TimelinePanel.js b/Source/WebCore/inspector/front-end/TimelinePanel.js index 1d8b9c9..62c5de0 100644 --- a/Source/WebCore/inspector/front-end/TimelinePanel.js +++ b/Source/WebCore/inspector/front-end/TimelinePanel.js @@ -270,10 +270,10 @@ WebInspector.TimelinePanel.prototype = { _toggleTimelineButtonClicked: function() { if (this.toggleTimelineButton.toggled) - InspectorBackend.stopTimelineProfiler(); + TimelineAgent.stop(); else { this._clearPanel(); - InspectorBackend.startTimelineProfiler(); + TimelineAgent.start(); } }, @@ -865,7 +865,6 @@ WebInspector.TimelinePanel.FormattedRecord = function(record, parentRecord, pane this.endTime = (typeof record.endTime !== "undefined") ? record.endTime / 1000 : this.startTime; this._selfTime = this.endTime - this.startTime; this._lastChildEndTime = this.endTime; - this.originalRecordForTests = record; if (record.stackTrace && record.stackTrace.length) this.stackTrace = record.stackTrace; this.totalHeapSize = record.totalHeapSize; |