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

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

Issue 921333006: DevTools: Merge main thread strips on timeline overview into a single one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Put background activities onto their own strips. Created 5 years, 10 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
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 ab5f192d1d0c4c6ec0bc8defd1f56819acd7165f..d160e8d36960b9f5a9a8ede4f8b2c341a75f3182 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -382,7 +382,7 @@ WebInspector.TimelinePanel.prototype = {
var categories = WebInspector.TimelineUIUtils.categories();
for (var categoryName in categories) {
var category = categories[categoryName];
- if (category.overviewStripGroupIndex < 0)
+ if (!category.visible)
continue;
var filter = new WebInspector.CheckboxFilterUI(category.name, category.title);
this._filters._categoryFiltersUI[category.name] = filter;
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineEventOverview.js ('k') | Source/devtools/front_end/timeline/TimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698