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 e21f540a26b4fa0113f6e7b91e8101879a20551b..6fb563de2bdd286e8501601312ab6b3a89106a6a 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -824,18 +824,17 @@ WebInspector.TimelinePanel.prototype = { |
this._updateToggleTimelineButton(false); |
if (this._lazyFrameModel) { |
this._lazyFrameModel.reset(); |
- if (this._tracingTimelineModel) { |
+ if (this._tracingTimelineModel) |
this._lazyFrameModel.addTraceEvents(this._tracingTimelineModel.inspectedTargetEvents(), this._tracingModel.sessionId()); |
- this._overviewPane.update(); |
- } else { |
+ else |
this._lazyFrameModel.addRecords(this._model.records()); |
- } |
} |
if (this._tracingTimelineModel) { |
this.requestWindowTimes(this._tracingTimelineModel.minimumRecordTime(), this._tracingTimelineModel.maximumRecordTime()); |
this._refreshViews(); |
} |
this._hideProgressPane(); |
+ this._overviewPane.update(); |
}, |
_onRecordAdded: function(event) |