Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
index 1d0ddb52578ef8e9ee20b34b18a2551e4cddaa9d..7958929c79f6934774fc51fd76a4ed711f36076f 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
@@ -1027,21 +1027,16 @@ WebInspector.TimelineUIUtils._generateInvalidationsForType = function(type, targ |
break; |
} |
- var detailsNode = createElementWithClass("div", "timeline-details-view-row"); |
- var titleElement = detailsNode.createChild("span", "timeline-details-view-row-title"); |
- titleElement.textContent = WebInspector.UIString("%s: ", title); |
- |
var invalidationsTreeOutline = new TreeOutlineInShadow(); |
invalidationsTreeOutline.registerRequiredCSS("timeline/invalidationsTree.css"); |
- invalidationsTreeOutline.element.classList.add("timeline-details-view-row-value", "invalidations-tree"); |
- detailsNode.appendChild(invalidationsTreeOutline.element); |
+ invalidationsTreeOutline.element.classList.add("invalidations-tree"); |
var invalidationGroups = groupInvalidationsByCause(invalidations); |
invalidationGroups.forEach(function(group) { |
var groupElement = new WebInspector.TimelineUIUtils.InvalidationsGroupElement(target, relatedNodesMap, contentHelper, group); |
invalidationsTreeOutline.appendChild(groupElement); |
}); |
- contentHelper.element.appendChild(detailsNode); |
+ contentHelper.appendElementRow(title, invalidationsTreeOutline.element); |
/** |
* @param {!Array.<!WebInspector.InvalidationTrackingEvent>} invalidations |