Index: Source/devtools/front_end/TimelinePanel.js |
diff --git a/Source/devtools/front_end/TimelinePanel.js b/Source/devtools/front_end/TimelinePanel.js |
index b4f50a22ade06acfacf5f4cf914b1daf0a7d7c23..d9691a65a29e4de0b6d312493bca146c9207809d 100644 |
--- a/Source/devtools/front_end/TimelinePanel.js |
+++ b/Source/devtools/front_end/TimelinePanel.js |
@@ -319,8 +319,15 @@ WebInspector.TimelinePanel.prototype = { |
this._statusBarButtons.push(this.garbageCollectButton); |
panelStatusBarElement.appendChild(this.garbageCollectButton.element); |
- panelStatusBarElement.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Capture stacks"), WebInspector.settings.timelineCaptureStacks, true, undefined, |
- WebInspector.UIString("Capture JavaScript stack on every timeline event"))); |
+ if (WebInspector.experimentsSettings.timelineNoLiveUpdate.isEnabled()) { |
+ panelStatusBarElement.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Live update"), |
+ WebInspector.settings.timelineLiveUpdate, true, undefined, |
+ WebInspector.UIString("Show timeline records while recording"))); |
+ } |
+ |
+ panelStatusBarElement.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Capture stacks"), |
+ WebInspector.settings.timelineCaptureStacks, true, undefined, |
+ WebInspector.UIString("Capture JavaScript stack on every timeline event"))); |
this._miscStatusBarItems = panelStatusBarElement.createChild("div", "status-bar-item"); |