Chromium Code Reviews| Index: Source/devtools/front_end/timeline/TimelineFlameChart.js |
| diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js |
| index 2faa97c5c0c2a1c3bf81c68dba36c312932eadc9..6f040e35d51efe59612cf47890ec664ba37386eb 100644 |
| --- a/Source/devtools/front_end/timeline/TimelineFlameChart.js |
| +++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js |
| @@ -792,6 +792,7 @@ WebInspector.TimelineFlameChart.prototype = { |
| }, |
| /** |
| + * @override |
| * @param {?RegExp} textFilter |
| */ |
| refreshRecords: function(textFilter) |
| @@ -827,28 +828,8 @@ WebInspector.TimelineFlameChart.prototype = { |
| this._mainView.reset(); |
| }, |
| - /** |
| - * @param {!WebInspector.TimelineModel.Record} record |
| - */ |
| - addRecord: function(record) |
| - { |
| - this._dataProvider.reset(); |
| - if (this._automaticallySizeWindow) { |
| - var minimumRecordTime = this._model.minimumRecordTime(); |
| - if (record.startTime() > (minimumRecordTime + 1000)) { |
| - this._automaticallySizeWindow = false; |
| - this._delegate.requestWindowTimes(minimumRecordTime, minimumRecordTime + 1000); |
| - } |
| - this._mainView.scheduleUpdate(); |
| - } else { |
| - if (!this._pendingUpdateTimer) |
| - this._pendingUpdateTimer = window.setTimeout(this._updateOnAddRecord.bind(this), 300); |
| - } |
| - }, |
| - |
| _updateOnAddRecord: function() |
|
alph
2014/11/10 16:19:05
nuke?
yurys
2014/11/10 16:19:54
Done.
|
| { |
| - delete this._pendingUpdateTimer; |
| this._mainView.scheduleUpdate(); |
| }, |