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 e8ead53223609c4412fd95347b112ee85dae60a9..7fc6cee44f8aa36d289af690513c82f65fcf4b96 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -354,7 +354,7 @@ WebInspector.TimelinePanel.prototype = { |
WebInspector.UIString("Capture memory information on every timeline event"))); |
this._captureMemorySetting.addChangeListener(this._onModeChanged, this); |
- if (Capabilities.canProfilePower) { |
+ if (WebInspector.experimentsSettings.timelinePowerProfiler.isEnabled()) { |
this._capturePowerSetting = WebInspector.settings.createSetting("timelineCapturePower", false); |
topPaneSidebarElement.appendChild(this._createSettingCheckbox(WebInspector.UIString("Capture power"), |
this._capturePowerSetting, |