Commit 42cf500b authored by eustas@chromium.org's avatar eustas@chromium.org

DevTools: DataGrid: fix "recalculateSiblings" method visibility.

BUG=316092

Review URL: https://codereview.chromium.org/428543002

git-svn-id: svn://svn.chromium.org/blink/trunk@179138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c5e54136
...@@ -188,7 +188,7 @@ WebInspector.ProfileDataGridNode.prototype = { ...@@ -188,7 +188,7 @@ WebInspector.ProfileDataGridNode.prototype = {
children.sort(comparator); children.sort(comparator);
for (var childIndex = 0; childIndex < childCount; ++childIndex) for (var childIndex = 0; childIndex < childCount; ++childIndex)
children[childIndex]._recalculateSiblings(childIndex); children[childIndex].recalculateSiblings(childIndex);
gridNodeGroups.push(children); gridNodeGroups.push(children);
} }
......
...@@ -1378,7 +1378,7 @@ WebInspector.DataGridNode.prototype = { ...@@ -1378,7 +1378,7 @@ WebInspector.DataGridNode.prototype = {
child.parent = this; child.parent = this;
child.dataGrid = this.dataGrid; child.dataGrid = this.dataGrid;
child._recalculateSiblings(index); child.recalculateSiblings(index);
child._depth = undefined; child._depth = undefined;
child._revealed = undefined; child._revealed = undefined;
...@@ -1449,8 +1449,9 @@ WebInspector.DataGridNode.prototype = { ...@@ -1449,8 +1449,9 @@ WebInspector.DataGridNode.prototype = {
/** /**
* @param {number} myIndex * @param {number} myIndex
* @protected
*/ */
_recalculateSiblings: function(myIndex) recalculateSiblings: function(myIndex)
{ {
if (!this.parent) if (!this.parent)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment