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

Unified Diff: third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js

Issue 2788793002: [Devtools] Added frame grouping to network panel (Closed)
Patch Set: [Devtools] Added frame grouping to network panel Created 3 years, 9 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
Index: third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js b/third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js
index df6f3304bf68509e202b69e792e52a5c46fc0a2b..0d5048665eb2b37b44474e34eaa07342c42032b5 100644
--- a/third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js
@@ -346,9 +346,11 @@ DataGrid.ViewportDataGridNode = class extends DataGrid.DataGridNode {
if (currentIndex < index)
--index;
}
+
pfeldman 2017/03/30 23:45:50 roll back
child.remove();
child.parent = this;
child.dataGrid = this.dataGrid;
+
if (!this.children.length)
this.setHasChildren(true);
this.children.splice(index, 0, child);

Powered by Google App Engine
This is Rietveld 408576698