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

Unified Diff: Source/devtools/front_end/TimelineView.js

Issue 201823003: Timeline: fix expansion arrow appearing on rows with no visible children (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/TimelinePresentationModel.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/TimelineView.js
diff --git a/Source/devtools/front_end/TimelineView.js b/Source/devtools/front_end/TimelineView.js
index fd85a15bf0b8fc215e49496f67a438b1f53d9f6c..2d37c4f6ac5fcab06be6d254713ce75eab1757b5 100644
--- a/Source/devtools/front_end/TimelineView.js
+++ b/Source/devtools/front_end/TimelineView.js
@@ -1031,7 +1031,7 @@ WebInspector.TimelineRecordListRow.prototype = {
}
}
- this._expandArrowElement.classList.toggle("parent", presentationRecord.hasPresentationChildren());
+ this._expandArrowElement.classList.toggle("parent", presentationRecord.expandable());
this._expandArrowElement.classList.toggle("expanded", !!presentationRecord.visibleChildrenCount());
this._record.setListRow(this);
},
« no previous file with comments | « Source/devtools/front_end/TimelinePresentationModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698