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..37381f04898119b20e679005933b2acd08db8c7d 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -985,8 +985,14 @@ WebInspector.TimelinePanel.prototype = { |
_updateSelectionDetails: function() |
{ |
- if (!this._selection) |
- this._selection = WebInspector.TimelineSelection.fromRange(this._windowStartTime, this._windowEndTime); |
+ if (!this._selection) { |
+ if (this._tracingTimelineModel && this._flameChartEnabledSetting.get()) { |
+ this.showInDetails(this.element.ownerDocument.createElement("div")); |
+ return; |
+ } else { |
+ this._selection = WebInspector.TimelineSelection.fromRange(this._windowStartTime, this._windowEndTime); |
+ } |
+ } |
switch (this._selection.type()) { |
case WebInspector.TimelineSelection.Type.Record: |