Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1732)

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 455773002: Create "Paint profiler" experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698