Bug 1166122 - Fix regression in the call tree caused by bug 1165045, r=jsantell

This commit is contained in:
Victor Porof 2015-05-19 13:46:32 -04:00
parent f536d22a42
commit d5c4105231

View File

@ -309,11 +309,11 @@ CallView.prototype = Heritage.extend(AbstractTreeItem.prototype, {
cell.appendChild(hostNode);
}
if (frameInfo.categoryData.label) {
let spacerNode = this.document.createElement("spacer");
spacerNode.setAttribute("flex", "10000");
cell.appendChild(spacerNode);
let spacerNode = this.document.createElement("spacer");
spacerNode.setAttribute("flex", "10000");
cell.appendChild(spacerNode);
if (frameInfo.categoryData.label) {
let categoryNode = this.document.createElement("label");
categoryNode.className = "plain call-tree-category";
categoryNode.style.color = frameInfo.categoryData.color;