Index: Source/devtools/front_end/DataGrid.js |
diff --git a/Source/devtools/front_end/DataGrid.js b/Source/devtools/front_end/DataGrid.js |
index 24d650e1ece2b64eb1476bd7ec594ae22994fa25..c9b991c238981f84557f21e64ebb590a5c2ee1ee 100644 |
--- a/Source/devtools/front_end/DataGrid.js |
+++ b/Source/devtools/front_end/DataGrid.js |
@@ -1168,6 +1168,8 @@ WebInspector.DataGridNode = function(data, hasChildren) |
this.disclosureToggleWidth = 10; |
} |
+WebInspector.DataGridNode.NodeShallowHeight = 16; |
+ |
WebInspector.DataGridNode.prototype = { |
/** @type {boolean} */ |
selectable: true, |
@@ -1394,7 +1396,7 @@ WebInspector.DataGridNode.prototype = { |
*/ |
nodeHeight: function() |
{ |
- var rowHeight = 16; |
+ var rowHeight = WebInspector.DataGridNode.NodeShallowHeight; |
if (!this.revealed) |
return 0; |
if (!this.expanded) |