Chromium Code Reviews| Index: Source/devtools/front_end/timeline/TimelinePanel.js |
| diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js |
| index d540901a91ad02b1da51accaa6c4f05422cc7dc6..a53951bfcbad32a3cdc7a970295abc332f60aa70 100644 |
| --- a/Source/devtools/front_end/timeline/TimelinePanel.js |
| +++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
| @@ -814,23 +814,20 @@ WebInspector.TimelinePanel.prototype = { |
| } |
| this._hideProgressPane(); |
| this._overviewPane.update(); |
| - }, |
| - |
| - _onRecordAdded: function(event) |
| - { |
| - this._addRecord(/** @type {!WebInspector.TimelineModel.Record} */(event.data)); |
| + this._updateSearchHighlight(false, true); |
| }, |
| /** |
| - * @param {!WebInspector.TimelineModel.Record} record |
| + * @param {!WebInspector.Event} event |
| */ |
| - _addRecord: function(record) |
| + _onRecordAdded: function(event) |
| { |
| + /** @type {!WebInspector.TimelineModel.Record} */ |
|
apavlov
2014/11/06 09:22:47
You should not need this @type annotation, since y
loislo
2014/11/06 09:41:58
Done.
|
| + var record = /** @type {!WebInspector.TimelineModel.Record} */ (event.data); |
| if (this._lazyFrameModel && !this._tracingModel) |
| this._lazyFrameModel.addRecord(record); |
| for (var i = 0; i < this._currentViews.length; ++i) |
| this._currentViews[i].addRecord(record); |
| - this._updateSearchHighlight(false, true); |
| }, |
| /** |