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 7e5ccff7c325ce63e3155bf32da014faaaff27ba..7b515fa77dee7bdbd502a6be95fb16bcf5179502 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -404,7 +404,8 @@ WebInspector.TimelinePanel.prototype = { |
WebInspector.UIString("Capture power information"))); |
this._capturePowerSetting.addChangeListener(this._onModeChanged, this); |
} |
- if (WebInspector.experimentsSettings.timelineOnTraceEvents.isEnabled()) { |
+ if (WebInspector.experimentsSettings.timelineOnTraceEvents.isEnabled() && |
+ WebInspector.experimentsSettings.paintProfiler.isEnabled()) { |
pfeldman
2014/08/08 12:32:21
You want to hide layers behind experiment as well.
yurys
2014/08/08 12:58:06
Added checks in a couple of places but neither lay
|
this._captureLayersAndPicturesSetting = WebInspector.settings.createSetting("timelineCaptureLayersAndPictures", false); |
panelStatusBarElement.appendChild(this._createSettingCheckbox(WebInspector.UIString("Paint"), |
this._captureLayersAndPicturesSetting, |