Index: Source/devtools/front_end/DataGrid.js |
diff --git a/Source/devtools/front_end/DataGrid.js b/Source/devtools/front_end/DataGrid.js |
index c9b991c238981f84557f21e64ebb590a5c2ee1ee..cd7df8554fa2f55232512e8e096e8f492a34c3ef 100644 |
--- a/Source/devtools/front_end/DataGrid.js |
+++ b/Source/devtools/front_end/DataGrid.js |
@@ -1168,8 +1168,6 @@ WebInspector.DataGridNode = function(data, hasChildren) |
this.disclosureToggleWidth = 10; |
} |
-WebInspector.DataGridNode.NodeShallowHeight = 16; |
- |
WebInspector.DataGridNode.prototype = { |
/** @type {boolean} */ |
selectable: true, |
@@ -1394,17 +1392,9 @@ WebInspector.DataGridNode.prototype = { |
/** |
* @return {number} |
*/ |
- nodeHeight: function() |
+ nodeSelfHeight: function() |
{ |
- var rowHeight = WebInspector.DataGridNode.NodeShallowHeight; |
- if (!this.revealed) |
- return 0; |
- if (!this.expanded) |
- return rowHeight; |
- var result = rowHeight; |
- for (var i = 0; i < this.children.length; i++) |
- result += this.children[i].nodeHeight(); |
- return result; |
+ return 16; |
}, |
/** |