Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2186)

Unified Diff: Source/devtools/front_end/ui/DataGrid.js

Issue 428543002: DevTools: DataGrid: fix "recalculateSiblings" method visibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/profiler/CPUProfileDataGrid.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/DataGrid.js
diff --git a/Source/devtools/front_end/ui/DataGrid.js b/Source/devtools/front_end/ui/DataGrid.js
index cc73f45c27c1c03ccddd69207aa62104f6fda470..69c44e4ee69677d9e5e1022f77fd66cec12de94f 100644
--- a/Source/devtools/front_end/ui/DataGrid.js
+++ b/Source/devtools/front_end/ui/DataGrid.js
@@ -1378,7 +1378,7 @@ WebInspector.DataGridNode.prototype = {
child.parent = this;
child.dataGrid = this.dataGrid;
- child._recalculateSiblings(index);
+ child.recalculateSiblings(index);
child._depth = undefined;
child._revealed = undefined;
@@ -1449,8 +1449,9 @@ WebInspector.DataGridNode.prototype = {
/**
* @param {number} myIndex
+ * @protected
*/
- _recalculateSiblings: function(myIndex)
+ recalculateSiblings: function(myIndex)
{
if (!this.parent)
return;
« no previous file with comments | « Source/devtools/front_end/profiler/CPUProfileDataGrid.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698